Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000845/0.0008446, allocations: 102.9 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.001354/0.001354, allocations: 175.6 kB / 16.58 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 292.7 MB / 0.5505 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008166/0.0008167, allocations: 20.56 kB / 0.6744 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3119, allocations: 116.3 MB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02124/0.3332, allocations: 16.1 MB / 0.8036 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.3464, allocations: 7.097 MB / 0.8106 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.3476, allocations: 15.88 kB / 0.8106 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.3489, allocations: 190.9 kB / 0.8108 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.3512, allocations: 0.4935 MB / 0.8113 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.3539, allocations: 0.5843 MB / 0.8118 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002065/0.356, allocations: 1.089 MB / 0.8129 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004801/0.3565, allocations: 266.4 kB / 0.8131 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007191/0.3572, allocations: 350.4 kB / 0.8135 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.3577, allocations: 290.8 kB / 0.8138 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.3577, allocations: 16 kB / 0.8138 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.3591, allocations: 0.5848 MB / 0.8143 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.3593, allocations: 115.6 kB / 0.8145 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.3594, allocations: 113.4 kB / 0.8146 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009042/0.3604, allocations: 0.5806 MB / 0.8151 GB, free: 40 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.3604, allocations: 0 / 0.8151 GB, free: 40 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.995e-06/0.3604, allocations: 4 kB / 0.8151 GB, free: 36 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3604, allocations: 4 kB / 0.8151 GB, free: 32 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001526/0.3619, allocations: 0.7901 MB / 0.8159 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.362, allocations: 12.03 kB / 0.8159 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.3622, allocations: 59.25 kB / 0.816 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007092/0.363, allocations: 420.9 kB / 0.8164 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.363, allocations: 24.56 kB / 0.8164 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.3631, allocations: 32 kB / 0.8164 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/0.3638, allocations: 282.2 kB / 0.8167 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.3638, allocations: 11.94 kB / 0.8167 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.3638, allocations: 8 kB / 0.8167 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3638, allocations: 8 kB / 0.8167 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.3644, allocations: 198.1 kB / 0.8169 GB, free: 14.09 MB / 0.6387 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.002418/0.3668, allocations: 1.484 MB / 0.8184 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.3672, allocations: 166.8 kB / 0.8185 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.3674, allocations: 88.81 kB / 0.8186 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0019/0.3693, allocations: 1.291 MB / 0.8199 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3693, allocations: 34.56 kB / 0.8199 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.3694, allocations: 0 / 0.8199 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0007131/0.3701, allocations: 268 kB / 0.8202 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.3702, allocations: 51.41 kB / 0.8202 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007368/0.3709, allocations: 0.5808 MB / 0.8208 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.3709, allocations: 29.7 kB / 0.8208 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.3712, allocations: 272.1 kB / 0.8211 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.3712, allocations: 55.2 kB / 0.8211 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.3713, allocations: 8 kB / 0.8211 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3714, allocations: 362.7 kB / 0.8215 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.3716, allocations: 76.52 kB / 0.8215 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.3721, allocations: 206.8 kB / 0.8217 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.3723, allocations: 99.91 kB / 0.8218 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3723, allocations: 0 / 0.8218 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007052/0.373, allocations: 323.1 kB / 0.8221 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.3732, allocations: 157.8 kB / 0.8223 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3732, allocations: 4 kB / 0.8223 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.3733, allocations: 4 kB / 0.8223 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.3737, allocations: 67.91 kB / 0.8224 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.3737, allocations: 15.88 kB / 0.8224 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.3741, allocations: 55.7 kB / 0.8224 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.3741, allocations: 11.98 kB / 0.8224 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-06/0.3742, allocations: 4 kB / 0.8224 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006421/0.3748, allocations: 247.7 kB / 0.8227 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.3748, allocations: 0 / 0.8227 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.675e-06/0.3748, allocations: 4 kB / 0.8227 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.3751, allocations: 67.91 kB / 0.8228 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3751, allocations: 4 kB / 0.8228 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.3754, allocations: 47.84 kB / 0.8228 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.3755, allocations: 15.94 kB / 0.8228 GB, free: 7.586 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0003875/0.3758, allocations: 261.6 kB / 0.8231 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-05/0.376, allocations: 59.47 kB / 0.8231 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007039/0.3767, allocations: 259.5 kB / 0.8234 GB, free: 7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.3767, allocations: 11.97 kB / 0.8234 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3767, allocations: 0 / 0.8234 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3767, allocations: 0 / 0.8234 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.3784, allocations: 0.7434 MB / 0.8241 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.3785, allocations: 0 / 0.8241 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.3786, allocations: 31.98 kB / 0.8241 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3786, allocations: 8.125 kB / 0.8241 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.3787, allocations: 7.953 kB / 0.8242 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3787, allocations: 3.938 kB / 0.8242 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.3787, allocations: 7.984 kB / 0.8242 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007082/0.3794, allocations: 358.2 kB / 0.8245 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.3796, allocations: 152.4 kB / 0.8247 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.3797, allocations: 4 kB / 0.8247 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.3799, allocations: 23.97 kB / 0.8247 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.38, allocations: 19.92 kB / 0.8247 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.38, allocations: 12 kB / 0.8247 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006779/0.3807, allocations: 414.8 kB / 0.8251 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3807, allocations: 0 / 0.8251 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009417/0.3817, allocations: 231.6 kB / 0.8253 GB, free: 4.883 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001457/0.3831, allocations: 492.7 kB / 0.8258 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007874/0.3839, allocations: 339.6 kB / 0.8261 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.384, allocations: 0 / 0.8261 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.3844, allocations: 87.89 kB / 0.8262 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.3857, allocations: 263.9 kB / 0.8265 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.3875, allocations: 0.9788 MB / 0.8274 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007479/0.3882, allocations: 0.8429 MB / 0.8282 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.3883, allocations: 39.42 kB / 0.8283 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of SimCode: time 4.027e-06/0.3883, allocations: 4 kB / 0.8283 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of Templates: time 0.01535/0.4037, allocations: 8.538 MB / 0.8366 GB, free: 9.461 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o] Error 1