Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001107/0.001106, allocations: 102.1 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.001292/0.001292, allocations: 170.6 kB / 16.58 MB, free: 6.402 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.521/1.521, allocations: 223.3 MB / 240.6 MB, free: 5.332 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.483/2.483, allocations: 390.5 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 8 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8547/0.8551, allocations: 142.3 MB / 0.9544 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05407/0.9092, allocations: 52.8 MB / 1.006 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.9255, allocations: 9.801 MB / 1.016 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/0.9281, allocations: 47.69 kB / 1.016 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.9301, allocations: 0.4931 MB / 1.016 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005541/0.9356, allocations: 1.565 MB / 1.018 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.939, allocations: 0.9532 MB / 1.019 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006293/0.9453, allocations: 4.07 MB / 1.022 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.947, allocations: 0.9031 MB / 1.023 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.9496, allocations: 1.058 MB / 1.024 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.9511, allocations: 0.9099 MB / 1.025 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.9512, allocations: 48 kB / 1.025 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.9537, allocations: 0.8576 MB / 1.026 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.954, allocations: 250.9 kB / 1.026 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004834/0.9545, allocations: 317 kB / 1.027 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.9565, allocations: 1.716 MB / 1.028 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.9565, allocations: 0 / 1.028 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9566, allocations: 0 / 1.028 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.9566, allocations: 4 kB / 1.028 GB, free: 4.156 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002632/0.9592, allocations: 1.613 MB / 1.03 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.9593, allocations: 12.03 kB / 1.03 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000364/0.9596, allocations: 166.1 kB / 1.03 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.9614, allocations: 1.135 MB / 1.031 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/0.9615, allocations: 73.98 kB / 1.031 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.9616, allocations: 91.94 kB / 1.031 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.9632, allocations: 0.9528 MB / 1.032 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.9632, allocations: 7.938 kB / 1.032 GB, free: 15.94 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.9633, allocations: 36 kB / 1.032 GB, free: 15.9 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/0.9634, allocations: 24 kB / 1.032 GB, free: 15.88 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.9645, allocations: 0.6674 MB / 1.033 GB, free: 15.21 MB / 0.795 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.004979/0.9695, allocations: 4.066 MB / 1.037 GB, free: 10.94 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/0.9703, allocations: 410.7 kB / 1.037 GB, free: 10.53 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.9707, allocations: 260.1 kB / 1.038 GB, free: 10.28 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/0.9713, allocations: 0.503 MB / 1.038 GB, free: 9.664 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006524/0.972, allocations: 358 kB / 1.038 GB, free: 9.285 MB / 0.795 GB Notification: Performance of pre-optimization done (n=52): time 2.906e-06/0.972, allocations: 0 / 1.038 GB, free: 9.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=54): time 0.004399/0.9764, allocations: 1.961 MB / 1.04 GB, free: 7.227 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.9765, allocations: 145 kB / 1.041 GB, free: 7.055 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.9781, allocations: 1.078 MB / 1.042 GB, free: 5.965 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.9782, allocations: 41.7 kB / 1.042 GB, free: 5.918 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000567/0.9787, allocations: 0.5742 MB / 1.042 GB, free: 5.336 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.9789, allocations: 177.4 kB / 1.042 GB, free: 5.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.979, allocations: 16 kB / 1.042 GB, free: 5.145 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.9791, allocations: 337.9 kB / 1.043 GB, free: 4.809 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.9794, allocations: 205.6 kB / 1.043 GB, free: 4.609 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.98, allocations: 437.2 kB / 1.043 GB, free: 4.102 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/0.9805, allocations: 291.8 kB / 1.044 GB, free: 3.812 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.9805, allocations: 0 / 1.044 GB, free: 3.812 MB / 0.795 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00133/0.9818, allocations: 0.8798 MB / 1.044 GB, free: 2.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.982, allocations: 250.1 kB / 1.045 GB, free: 2.602 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.982, allocations: 7.938 kB / 1.045 GB, free: 2.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004386/0.9825, allocations: 117.6 kB / 1.045 GB, free: 2.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.9829, allocations: 115.8 kB / 1.045 GB, free: 2.359 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.9848, allocations: 2.195 MB / 1.047 GB, free: 0 / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.986, allocations: 87.89 kB / 1.047 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.986, allocations: 32 kB / 1.047 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.9861, allocations: 4 kB / 1.047 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001374/0.9875, allocations: 0.7697 MB / 1.048 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.9875, allocations: 4.562 kB / 1.048 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/0.9878, allocations: 109.6 kB / 1.048 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.9883, allocations: 127.8 kB / 1.048 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.9903, allocations: 2.188 MB / 1.05 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.9915, allocations: 83.83 kB / 1.05 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.9916, allocations: 35.98 kB / 1.05 GB, free: 12.39 MB / 0.8106 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.0009769/0.9926, allocations: 422.6 kB / 1.051 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.9928, allocations: 122.6 kB / 1.051 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.9943, allocations: 0.8079 MB / 1.052 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.9943, allocations: 7.984 kB / 1.052 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.9943, allocations: 7.953 kB / 1.052 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/0.9954, allocations: 0.6995 MB / 1.052 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.9987, allocations: 1.81 MB / 1.054 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9988, allocations: 0 / 1.054 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.9992, allocations: 71.89 kB / 1.054 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003943/0.9996, allocations: 121.8 kB / 1.054 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.277e-05/0.9997, allocations: 23.92 kB / 1.054 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/1.002, allocations: 2.184 MB / 1.057 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.002, allocations: 3.938 kB / 1.057 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/1.003, allocations: 1.123 MB / 1.058 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006598/1.004, allocations: 271.6 kB / 1.058 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/1.004, allocations: 16 kB / 1.058 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008458/1.005, allocations: 59.84 kB / 1.058 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/1.005, allocations: 36.05 kB / 1.058 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.174e-05/1.005, allocations: 31.95 kB / 1.058 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00127/1.007, allocations: 0.7526 MB / 1.059 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/1.007, allocations: 0 / 1.059 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002197/1.009, allocations: 0.5819 MB / 1.059 GB, free: 2.852 MB / 0.8106 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.0009177/1.01, allocations: 381.4 kB / 1.06 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002315/1.012, allocations: 1.333 MB / 1.061 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.012, allocations: 0 / 1.061 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006626/1.013, allocations: 475 kB / 1.061 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003003/1.016, allocations: 0.5815 MB / 1.062 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/1.021, allocations: 2.453 MB / 1.064 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/1.021, allocations: 1.12 MB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/1.022, allocations: 91.41 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of SimCode: time 1.753e-06/1.022, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.04503/1.067, allocations: 30.74 MB / 1.096 GB, free: 13.7 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile make -j1 -f Buildings_9_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_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialCalcHelperMain.o] Error 1