Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008163/0.0008163, allocations: 102.7 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.0008592/0.0008595, allocations: 174.2 kB / 16.58 MB, free: 6.863 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.513/1.513, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.79/2.79, allocations: 436.7 MB / 0.7113 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003764, allocations: 12 kB / 0.8717 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8857/0.886, allocations: 153.7 MB / 1.022 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.004097/0.8902, allocations: 2.634 MB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003477/0.8937, allocations: 1.716 MB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/0.8943, allocations: 11.94 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.8958, allocations: 390.5 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008035/0.8966, allocations: 215.1 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.898, allocations: 385.6 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.8992, allocations: 0.7212 MB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008467/0.9001, allocations: 402.5 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004214/0.9005, allocations: 251 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.9009, allocations: 278.6 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.901, allocations: 20 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.9013, allocations: 75.91 kB / 1.029 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.9015, allocations: 183.3 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.9016, allocations: 141.3 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006412/0.9023, allocations: 0.6021 MB / 1.03 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.9023, allocations: 0 / 1.03 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.532e-06/0.9023, allocations: 0 / 1.03 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.9023, allocations: 0 / 1.03 GB, free: 9.066 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001504/0.9038, allocations: 0.9857 MB / 1.03 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.9039, allocations: 11.98 kB / 1.03 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.904, allocations: 90.88 kB / 1.031 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006812/0.9047, allocations: 0.504 MB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.336e-05/0.9048, allocations: 74.66 kB / 1.031 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.9049, allocations: 52 kB / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.9058, allocations: 0.5502 MB / 1.032 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.9058, allocations: 0 / 1.032 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.9059, allocations: 19.98 kB / 1.032 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.9059, allocations: 12 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.9065, allocations: 339.6 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.909, allocations: 1.921 MB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.9096, allocations: 355.2 kB / 1.034 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/0.9099, allocations: 163.4 kB / 1.034 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.9099, allocations: 7.75 kB / 1.034 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004538/0.9104, allocations: 270.5 kB / 1.035 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 1.603e-06/0.9104, allocations: 0 / 1.035 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.0009855/0.9114, allocations: 497.1 kB / 1.035 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.9115, allocations: 195.9 kB / 1.035 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008752/0.9124, allocations: 0.7345 MB / 1.036 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.9125, allocations: 45.7 kB / 1.036 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.9128, allocations: 377.1 kB / 1.036 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.9129, allocations: 118.5 kB / 1.037 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.913, allocations: 12 kB / 1.037 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9131, allocations: 326 kB / 1.037 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.9134, allocations: 137.2 kB / 1.037 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.9138, allocations: 315.5 kB / 1.037 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.9141, allocations: 148.7 kB / 1.038 GB, free: 432 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.9141, allocations: 0 / 1.038 GB, free: 432 kB / 0.7794 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008853/0.915, allocations: 0.5145 MB / 1.038 GB, free: 15.9 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.915, allocations: 8 kB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.915, allocations: 4 kB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.9151, allocations: 8 kB / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.9153, allocations: 79.73 kB / 1.038 GB, free: 15.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.9154, allocations: 15.92 kB / 1.038 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.9156, allocations: 59.84 kB / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.9157, allocations: 35.98 kB / 1.038 GB, free: 15.69 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,$PRE.transition4.t_start,transition4.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,pumOn.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition3.localCondition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003566/0.9161, allocations: 277.6 kB / 1.038 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.9162, allocations: 71.14 kB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007789/0.917, allocations: 419.8 kB / 1.039 GB, free: 14.92 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.917, allocations: 4 kB / 1.039 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.917, allocations: 3.953 kB / 1.039 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.917, allocations: 7.984 kB / 1.039 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.9186, allocations: 1.067 MB / 1.04 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.9187, allocations: 0 / 1.04 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.9188, allocations: 39.91 kB / 1.04 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.9188, allocations: 7.953 kB / 1.04 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.9188, allocations: 12 kB / 1.04 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.9188, allocations: 4 kB / 1.04 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9189, allocations: 0 / 1.04 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007331/0.9196, allocations: 0.5202 MB / 1.041 GB, free: 13.17 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.9197, allocations: 152 kB / 1.041 GB, free: 13 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-05/0.9198, allocations: 15.95 kB / 1.041 GB, free: 12.99 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.92, allocations: 27.92 kB / 1.041 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.9201, allocations: 47.92 kB / 1.041 GB, free: 12.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.9202, allocations: 19.98 kB / 1.041 GB, free: 12.89 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006173/0.9208, allocations: 0.4951 MB / 1.041 GB, free: 12.4 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.054e-06/0.9208, allocations: 0 / 1.041 GB, free: 12.4 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005554/0.9214, allocations: 147.5 kB / 1.041 GB, free: 12.26 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: 39 (transition4.t_start,transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire,transition2.t_start,transition1.t_start) * Number of discrete states: 10 (transition1.t_start,transition2.t_start,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,transition4.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/0.9225, allocations: 458.5 kB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008161/0.9234, allocations: 385.7 kB / 1.042 GB, free: 11.58 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.9234, allocations: 4 kB / 1.042 GB, free: 11.58 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.9237, allocations: 179.6 kB / 1.042 GB, free: 11.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.9244, allocations: 117.5 kB / 1.043 GB, free: 11.29 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.9265, allocations: 1.451 MB / 1.044 GB, free: 9.793 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.9271, allocations: 0.9575 MB / 1.045 GB, free: 8.809 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.9273, allocations: 51.42 kB / 1.045 GB, free: 8.758 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/0.9273, allocations: 4 kB / 1.045 GB, free: 8.754 MB / 0.795 GB Notification: Performance of Templates: time 0.01531/0.9426, allocations: 8.949 MB / 1.054 GB, free: 15.85 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.makefile make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.Fluid.CHPs.BaseClasses.Validation.StandByCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandByCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.StandByCalcHelperMain.o] Error 1