Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008349/0.0008348, allocations: 99.59 kB / 15.71 MB, free: 452 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.000931/0.0009311, allocations: 175.6 kB / 16.58 MB, free: 6.422 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.492/1.492, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.612/2.612, allocations: 390.5 MB / 0.6662 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003901, allocations: 20 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8919/0.8923, allocations: 142.3 MB / 0.9544 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002805/0.8952, allocations: 2.055 MB / 0.9564 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.8974, allocations: 1.385 MB / 0.9578 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.8976, allocations: 7.031 kB / 0.9578 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.8982, allocations: 205.8 kB / 0.958 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.8985, allocations: 123.3 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.8989, allocations: 143.6 kB / 0.9582 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.8993, allocations: 301.2 kB / 0.9585 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.8995, allocations: 68.38 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.8996, allocations: 116.9 kB / 0.9587 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.8998, allocations: 134.4 kB / 0.9588 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.8998, allocations: 6.25 kB / 0.9588 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.9, allocations: 44.7 kB / 0.9589 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.9001, allocations: 109.6 kB / 0.959 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.9002, allocations: 99.08 kB / 0.9591 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.9005, allocations: 372.2 kB / 0.9594 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9005, allocations: 0 / 0.9594 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9005, allocations: 1.375 kB / 0.9594 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.9005, allocations: 0 / 0.9594 GB, free: 4.332 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009298/0.9015, allocations: 0.7363 MB / 0.9601 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.9015, allocations: 9.625 kB / 0.9602 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.528e-05/0.9016, allocations: 66.7 kB / 0.9602 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.902, allocations: 404.2 kB / 0.9606 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.9021, allocations: 10.02 kB / 0.9606 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.9021, allocations: 14.06 kB / 0.9606 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.9024, allocations: 138 kB / 0.9608 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.9024, allocations: 0 / 0.9608 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.9024, allocations: 5.656 kB / 0.9608 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.9024, allocations: 7.109 kB / 0.9608 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.9026, allocations: 82.08 kB / 0.9608 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.9036, allocations: 0.65 MB / 0.9615 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.904, allocations: 139.2 kB / 0.9616 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.088e-05/0.9041, allocations: 45.62 kB / 0.9617 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.9041, allocations: 6.031 kB / 0.9617 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.9043, allocations: 105 kB / 0.9618 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.9043, allocations: 0 / 0.9618 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.000439/0.9048, allocations: 216.7 kB / 0.962 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.9048, allocations: 56.59 kB / 0.962 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007399/0.9056, allocations: 0.6452 MB / 0.9627 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.9056, allocations: 35.73 kB / 0.9627 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.9058, allocations: 259.9 kB / 0.9629 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.9058, allocations: 40.66 kB / 0.963 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.9058, allocations: 1.312 kB / 0.963 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.9059, allocations: 366.7 kB / 0.9633 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.9061, allocations: 82.2 kB / 0.9634 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.9063, allocations: 111.3 kB / 0.9635 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.9064, allocations: 78.02 kB / 0.9636 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.9064, allocations: 3.938 kB / 0.9636 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000375/0.9068, allocations: 270.7 kB / 0.9638 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.9068, allocations: 10.61 kB / 0.9639 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.9068, allocations: 1.031 kB / 0.9639 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.9068, allocations: 1.25 kB / 0.9639 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.907, allocations: 37.14 kB / 0.9639 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.907, allocations: 2.125 kB / 0.9639 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.9072, allocations: 44.89 kB / 0.9639 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.9072, allocations: 3.906 kB / 0.9639 GB, free: 0.8789 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.000198/0.9075, allocations: 201.9 kB / 0.9641 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.9075, allocations: 54.98 kB / 0.9642 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.9076, allocations: 55.5 kB / 0.9642 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.9077, allocations: 6 kB / 0.9642 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.9077, allocations: 0 / 0.9642 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9077, allocations: 1.094 kB / 0.9642 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.908, allocations: 380.3 kB / 0.9646 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.908, allocations: 0 / 0.9646 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.66e-05/0.9081, allocations: 7.062 kB / 0.9646 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9081, allocations: 1.594 kB / 0.9646 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.9082, allocations: 9.359 kB / 0.9646 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.9082, allocations: 1.156 kB / 0.9646 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9082, allocations: 0 / 0.9646 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.9086, allocations: 260.6 kB / 0.9649 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.9086, allocations: 128.4 kB / 0.965 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.9087, allocations: 6.609 kB / 0.965 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.9089, allocations: 16.27 kB / 0.965 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.9089, allocations: 24.55 kB / 0.965 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.909, allocations: 9 kB / 0.9651 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005408/0.9095, allocations: 426.4 kB / 0.9655 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9095, allocations: 0 / 0.9655 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002892/0.9098, allocations: 68.84 kB / 0.9655 GB, free: 15.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/0.9109, allocations: 434.6 kB / 0.9659 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003609/0.9113, allocations: 153.1 kB / 0.9661 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9113, allocations: 4.062 kB / 0.9661 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.9114, allocations: 54.92 kB / 0.9661 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.9118, allocations: 73.66 kB / 0.9662 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.9134, allocations: 0.983 MB / 0.9672 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.914, allocations: 0.8585 MB / 0.968 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.9141, allocations: 23.97 kB / 0.968 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.9141, allocations: 1.031 kB / 0.968 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.009259/0.9234, allocations: 5.44 MB / 0.9733 GB, free: 11.07 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPowerCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPowerCalcHelperMain.o] Error 1