Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 183.7 kB / 16.92 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.87/1.87, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005675/0.0005672, allocations: 16.75 kB / 0.675 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3449, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.00485/0.3498, allocations: 2.715 MB / 0.7912 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00369/0.3536, allocations: 1.754 MB / 0.7929 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.3538, allocations: 3.938 kB / 0.7929 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.3541, allocations: 39.64 kB / 0.793 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005987/0.3547, allocations: 183.2 kB / 0.7931 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007573/0.3555, allocations: 227.5 kB / 0.7933 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006641/0.3562, allocations: 0.5024 MB / 0.7938 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009084/0.3571, allocations: 398.9 kB / 0.7942 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.3574, allocations: 135.4 kB / 0.7943 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.3579, allocations: 175.3 kB / 0.7945 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.3579, allocations: 12 kB / 0.7945 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006133/0.3586, allocations: 307.4 kB / 0.7948 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.3587, allocations: 75.78 kB / 0.7949 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.3589, allocations: 157 kB / 0.795 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.3594, allocations: 351.1 kB / 0.7954 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3594, allocations: 0 / 0.7954 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.115e-06/0.3595, allocations: 0 / 0.7954 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3595, allocations: 4 kB / 0.7954 GB, free: 4.523 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001481/0.361, allocations: 0.6019 MB / 0.796 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.361, allocations: 8.031 kB / 0.796 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007917/0.3618, allocations: 112.4 kB / 0.7961 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.3622, allocations: 275.5 kB / 0.7963 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3623, allocations: 16.81 kB / 0.7964 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.3623, allocations: 20.38 kB / 0.7964 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/0.3633, allocations: 434.8 kB / 0.7968 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3633, allocations: 0 / 0.7968 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.3633, allocations: 12 kB / 0.7968 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.402e-05/0.3634, allocations: 24.36 kB / 0.7968 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.3645, allocations: 420.7 kB / 0.7972 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.3668, allocations: 1.619 MB / 0.7988 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.3681, allocations: 489.1 kB / 0.7993 GB, free: 264 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.3686, allocations: 205.6 kB / 0.7995 GB, free: 52 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.3688, allocations: 89.09 kB / 0.7996 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005783/0.3694, allocations: 282.5 kB / 0.7998 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=27): time 1.934e-06/0.3694, allocations: 0 / 0.7998 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.00223/0.3716, allocations: 0.787 MB / 0.8006 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.3718, allocations: 85.05 kB / 0.8007 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.372, allocations: 224.9 kB / 0.8009 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.3721, allocations: 33.7 kB / 0.8009 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3722, allocations: 172.3 kB / 0.8011 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.792e-05/0.3723, allocations: 90.66 kB / 0.8012 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.3724, allocations: 37.7 kB / 0.8012 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3725, allocations: 330.8 kB / 0.8015 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.373, allocations: 184.2 kB / 0.8017 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/0.3735, allocations: 257.3 kB / 0.8019 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009433/0.3744, allocations: 479.4 kB / 0.8024 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3744, allocations: 0 / 0.8024 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001232/0.3757, allocations: 0.5707 MB / 0.803 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.3759, allocations: 174.6 kB / 0.8031 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.3759, allocations: 7.938 kB / 0.8031 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002842/0.3762, allocations: 48.81 kB / 0.8032 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.3766, allocations: 91.8 kB / 0.8033 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.3785, allocations: 1.501 MB / 0.8047 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.3788, allocations: 55.86 kB / 0.8048 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.3789, allocations: 19.98 kB / 0.8048 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.3789, allocations: 4 kB / 0.8048 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/0.3801, allocations: 0.4905 MB / 0.8053 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3801, allocations: 4.094 kB / 0.8053 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.3802, allocations: 44.77 kB / 0.8053 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.3806, allocations: 95.8 kB / 0.8054 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.3821, allocations: 1.485 MB / 0.8069 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.3825, allocations: 51.83 kB / 0.8069 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.3825, allocations: 16.06 kB / 0.8069 GB, free: 7.871 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003139/0.3829, allocations: 237 kB / 0.8072 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.3829, allocations: 27.66 kB / 0.8072 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.3841, allocations: 492.5 kB / 0.8077 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3841, allocations: 4 kB / 0.8077 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3841, allocations: 0 / 0.8077 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3841, allocations: 7.984 kB / 0.8077 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009141/0.3851, allocations: 0.5583 MB / 0.8082 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3851, allocations: 4.094 kB / 0.8082 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.3855, allocations: 83.86 kB / 0.8083 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001676/0.3856, allocations: 36.83 kB / 0.8083 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.3857, allocations: 4 kB / 0.8083 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.3871, allocations: 1.436 MB / 0.8097 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3871, allocations: 0 / 0.8097 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.3883, allocations: 0.5654 MB / 0.8103 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.3885, allocations: 128.7 kB / 0.8104 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.3885, allocations: 8 kB / 0.8104 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.3889, allocations: 47.94 kB / 0.8105 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.389, allocations: 27.97 kB / 0.8105 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.389, allocations: 11.98 kB / 0.8105 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001965/0.3892, allocations: 172.5 kB / 0.8107 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3892, allocations: 0 / 0.8107 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006836/0.3899, allocations: 131.9 kB / 0.8108 GB, free: 3.645 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002332/0.3902, allocations: 115.1 kB / 0.8109 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002176/0.3923, allocations: 1.017 MB / 0.8119 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3924, allocations: 0 / 0.8119 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007213/0.3931, allocations: 335.4 kB / 0.8122 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.3937, allocations: 52.53 kB / 0.8123 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.3953, allocations: 0.7703 MB / 0.813 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.3959, allocations: 0.7878 MB / 0.8138 GB, free: 452 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.396, allocations: 27.44 kB / 0.8138 GB, free: 424 kB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/0.396, allocations: 0 / 0.8138 GB, free: 424 kB / 0.6231 GB Notification: Performance of Templates: time 0.008869/0.4049, allocations: 5.078 MB / 0.8188 GB, free: 11.34 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.o] Error 1