Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.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.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi1.T|boi2.sta_a.T|boi2.sta_b.T|boi2.T|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi1.T|boi2.sta_a.T|boi2.sta_b.T|boi2.T|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, 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.001286/0.001286, allocations: 176.5 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.449/1.449, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.789/2.789, allocations: 436.7 MB / 0.7113 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004215, allocations: 8 kB / 0.8717 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7935/0.794, allocations: 153.7 MB / 1.022 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04979/0.8438, allocations: 52.8 MB / 1.073 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01422/0.8581, allocations: 9.82 MB / 1.083 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.8602, allocations: 43.75 kB / 1.083 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.8621, allocations: 0.4892 MB / 1.083 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005202/0.8673, allocations: 1.558 MB / 1.085 GB, free: 316 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.8705, allocations: 0.9691 MB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00544/0.8759, allocations: 4.066 MB / 1.09 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.8777, allocations: 0.8992 MB / 1.091 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.8803, allocations: 1.058 MB / 1.092 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.8819, allocations: 0.9216 MB / 1.093 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.882, allocations: 52 kB / 1.093 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.8842, allocations: 0.8498 MB / 1.094 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.8845, allocations: 254.8 kB / 1.094 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000481/0.885, allocations: 309 kB / 1.094 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.8871, allocations: 1.72 MB / 1.096 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.8871, allocations: 0 / 1.096 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8871, allocations: 0 / 1.096 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.8871, allocations: 0 / 1.096 GB, free: 5.18 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002982/0.8901, allocations: 1.613 MB / 1.097 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.8902, allocations: 15.97 kB / 1.097 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004059/0.8906, allocations: 174.1 kB / 1.097 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.8925, allocations: 1.131 MB / 1.099 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.8925, allocations: 66 kB / 1.099 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.8927, allocations: 96 kB / 1.099 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.8942, allocations: 0.9489 MB / 1.1 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.8942, allocations: 3.953 kB / 1.1 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.912e-05/0.8943, allocations: 43.98 kB / 1.1 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/0.8944, allocations: 20 kB / 1.1 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.8954, allocations: 0.6753 MB / 1.1 GB, free: 240 kB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005005/0.9005, allocations: 4.062 MB / 1.104 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006907/0.9012, allocations: 397.2 kB / 1.105 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.9016, allocations: 258.6 kB / 1.105 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004375/0.902, allocations: 0.5069 MB / 1.105 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005641/0.9026, allocations: 357.9 kB / 1.106 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=52): time 2.615e-06/0.9026, allocations: 3.938 kB / 1.106 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=54): time 0.003966/0.9066, allocations: 1.961 MB / 1.108 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.9067, allocations: 137 kB / 1.108 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.9081, allocations: 1.086 MB / 1.109 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.9081, allocations: 37.7 kB / 1.109 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/0.9087, allocations: 0.5742 MB / 1.11 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.9088, allocations: 181.4 kB / 1.11 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.9089, allocations: 20 kB / 1.11 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.909, allocations: 330 kB / 1.11 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.9094, allocations: 213.5 kB / 1.11 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.9099, allocations: 428.7 kB / 1.111 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.9103, allocations: 303.7 kB / 1.111 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.9103, allocations: 4 kB / 1.111 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001378/0.9117, allocations: 0.8718 MB / 1.112 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.9119, allocations: 247 kB / 1.112 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.9119, allocations: 4 kB / 1.112 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004207/0.9123, allocations: 113.7 kB / 1.112 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.9128, allocations: 119.8 kB / 1.112 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.9146, allocations: 2.188 MB / 1.114 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009366/0.9156, allocations: 103.8 kB / 1.114 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/0.9157, allocations: 32 kB / 1.115 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.9157, allocations: 4 kB / 1.115 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001239/0.9169, allocations: 0.766 MB / 1.115 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9169, allocations: 4 kB / 1.115 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/0.9173, allocations: 109.7 kB / 1.115 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.9176, allocations: 116 kB / 1.115 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.9193, allocations: 2.196 MB / 1.118 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008835/0.9202, allocations: 85.45 kB / 1.118 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/0.9202, allocations: 31.98 kB / 1.118 GB, free: 13.41 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006576/0.9209, allocations: 430.6 kB / 1.118 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.9211, allocations: 122.5 kB / 1.118 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.9224, allocations: 0.8117 MB / 1.119 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.9224, allocations: 4 kB / 1.119 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.9224, allocations: 0 / 1.119 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009403/0.9233, allocations: 0.7113 MB / 1.12 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.926, allocations: 1.802 MB / 1.122 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.926, allocations: 4 kB / 1.122 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.9264, allocations: 75.89 kB / 1.122 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003283/0.9267, allocations: 109.6 kB / 1.122 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/0.9267, allocations: 8 kB / 1.122 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.9285, allocations: 2.196 MB / 1.124 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.9286, allocations: 3.984 kB / 1.124 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.9302, allocations: 1.111 MB / 1.125 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004765/0.9306, allocations: 279.5 kB / 1.125 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.9308, allocations: 15.94 kB / 1.125 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/0.9314, allocations: 59.94 kB / 1.125 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.9315, allocations: 43.84 kB / 1.125 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/0.9316, allocations: 28.11 kB / 1.125 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001041/0.9326, allocations: 0.7487 MB / 1.126 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9326, allocations: 3.938 kB / 1.126 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001815/0.9345, allocations: 0.5857 MB / 1.127 GB, free: 3.891 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008254/0.9353, allocations: 384.9 kB / 1.127 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002131/0.9374, allocations: 1.333 MB / 1.128 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.9375, allocations: 4 kB / 1.128 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006282/0.9381, allocations: 474.2 kB / 1.129 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/0.9406, allocations: 0.5819 MB / 1.129 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.9442, allocations: 2.446 MB / 1.132 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.945, allocations: 1.124 MB / 1.133 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.9452, allocations: 91.41 kB / 1.133 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of SimCode: time 8.12e-07/0.9452, allocations: 0 / 1.133 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of Templates: time 0.04236/0.9876, allocations: 30.72 MB / 1.163 GB, free: 14.73 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomialCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Boilers.Examples.BoilerPolynomialCalcHelperMain.o] Error 1