Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 102.6 kB / 15.71 MB, free: 460 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.001324/0.001325, allocations: 172.2 kB / 16.58 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.3 MB / 240.6 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.954/2.954, allocations: 436.7 MB / 0.7113 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 8 kB / 0.8717 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8362, allocations: 153.7 MB / 1.022 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004169/0.8404, allocations: 3.113 MB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002592/0.843, allocations: 1.618 MB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.8432, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.8434, allocations: 35.7 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005081/0.8439, allocations: 155.2 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006301/0.8446, allocations: 187.6 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.8451, allocations: 418.6 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007497/0.8458, allocations: 386.5 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.8461, allocations: 131.5 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.8464, allocations: 167.4 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.8464, allocations: 12 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.8468, allocations: 135.8 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.8469, allocations: 83.77 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.847, allocations: 69.52 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.8474, allocations: 345.2 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.8475, allocations: 3.984 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8475, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.8475, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 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.001157/0.8486, allocations: 0.5958 MB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.8487, allocations: 15.98 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007018/0.8494, allocations: 99.52 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.8498, allocations: 274.5 kB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.8498, allocations: 16.39 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.8499, allocations: 16 kB / 1.029 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007734/0.8506, allocations: 426.6 kB / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.8507, allocations: 3.938 kB / 1.03 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.8507, allocations: 11.94 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.212e-05/0.8508, allocations: 32.34 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008667/0.8516, allocations: 408.8 kB / 1.03 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.8535, allocations: 1.623 MB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.8545, allocations: 489.2 kB / 1.032 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.855, allocations: 205.5 kB / 1.032 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.8551, allocations: 89.09 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005704/0.8557, allocations: 282.5 kB / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=27): time 1.914e-06/0.8557, allocations: 0 / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.001945/0.8577, allocations: 0.7773 MB / 1.034 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.8578, allocations: 81.11 kB / 1.034 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.858, allocations: 228.9 kB / 1.034 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.8581, allocations: 33.7 kB / 1.034 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.8582, allocations: 168.4 kB / 1.034 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/0.8583, allocations: 90.66 kB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.8583, allocations: 7.938 kB / 1.034 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.8585, allocations: 334.8 kB / 1.034 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.859, allocations: 180.2 kB / 1.035 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.8594, allocations: 257.3 kB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.8598, allocations: 233.8 kB / 1.035 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8599, allocations: 0 / 1.035 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001054/0.8609, allocations: 0.5598 MB / 1.036 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.8611, allocations: 179.5 kB / 1.036 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.8611, allocations: 4 kB / 1.036 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.8613, allocations: 40.83 kB / 1.036 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.8617, allocations: 91.86 kB / 1.036 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.8634, allocations: 1.501 MB / 1.037 GB, free: 328 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.8638, allocations: 51.86 kB / 1.037 GB, free: 276 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.8638, allocations: 20.02 kB / 1.038 GB, free: 256 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.8638, allocations: 4 kB / 1.038 GB, free: 252 kB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.8648, allocations: 0.4949 MB / 1.038 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8649, allocations: 4.281 kB / 1.038 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/0.865, allocations: 52.98 kB / 1.038 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.8653, allocations: 83.88 kB / 1.038 GB, free: 15.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.8667, allocations: 1.489 MB / 1.04 GB, free: 13.97 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.867, allocations: 55.8 kB / 1.04 GB, free: 13.92 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.8671, allocations: 8.062 kB / 1.04 GB, free: 13.91 MB / 0.795 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 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003077/0.8674, allocations: 248.9 kB / 1.04 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.8675, allocations: 27.7 kB / 1.04 GB, free: 13.63 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.8685, allocations: 496.3 kB / 1.04 GB, free: 13.13 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.8685, allocations: 4 kB / 1.04 GB, free: 13.13 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.8685, allocations: 0 / 1.04 GB, free: 13.13 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.8685, allocations: 3.953 kB / 1.04 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006452/0.8692, allocations: 0.5623 MB / 1.041 GB, free: 12.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.8692, allocations: 96 / 1.041 GB, free: 12.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.8696, allocations: 87.84 kB / 1.041 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.8697, allocations: 36.83 kB / 1.041 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.8697, allocations: 16.02 kB / 1.041 GB, free: 12.36 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.8711, allocations: 1.405 MB / 1.042 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8711, allocations: 0 / 1.042 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/0.872, allocations: 0.5653 MB / 1.043 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.8722, allocations: 140.7 kB / 1.043 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.8722, allocations: 4 kB / 1.043 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.8725, allocations: 43.95 kB / 1.043 GB, free: 10.03 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.96e-05/0.8726, allocations: 31.95 kB / 1.043 GB, free: 9.996 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.8726, allocations: 8 kB / 1.043 GB, free: 9.988 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001694/0.8728, allocations: 172.5 kB / 1.043 GB, free: 9.824 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8728, allocations: 0 / 1.043 GB, free: 9.824 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005861/0.8734, allocations: 128 kB / 1.043 GB, free: 9.699 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/0.8736, allocations: 122 kB / 1.044 GB, free: 9.574 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001955/0.8756, allocations: 1.005 MB / 1.045 GB, free: 8.52 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8756, allocations: 0 / 1.045 GB, free: 8.52 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005785/0.8762, allocations: 343.2 kB / 1.045 GB, free: 8.172 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.8766, allocations: 54.05 kB / 1.045 GB, free: 8.121 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.8779, allocations: 0.7622 MB / 1.046 GB, free: 7.316 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.8783, allocations: 0.7917 MB / 1.046 GB, free: 6.496 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.8784, allocations: 31.36 kB / 1.047 GB, free: 6.465 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.8784, allocations: 0 / 1.047 GB, free: 6.465 MB / 0.795 GB Notification: Performance of Templates: time 0.008384/0.8868, allocations: 5.095 MB / 1.051 GB, free: 1.383 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSourceCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSourceCalcHelperMain.o] Error 1