Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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) 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(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 101.5 kB / 17.8 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 194 kB / 18.72 MB, free: 4.762 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.915/1.915, allocations: 205.1 MB / 224.6 MB, free: 12.46 MB / 190.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.002183/0.002182, allocations: 51.92 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1589, allocations: 46.63 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0366/0.1956, allocations: 26.32 MB / 353.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03184/0.2274, allocations: 25.63 MB / 379.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.2281, allocations: 11.94 kB / 379.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.2292, allocations: 258.8 kB / 379.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.2303, allocations: 358.1 kB / 379.8 MB, free: 156 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3217/0.552, allocations: 3.231 MB / 383 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.5544, allocations: 1.395 MB / 384.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.5546, allocations: 82.11 kB / 384.5 MB, free: 10 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000733/0.5554, allocations: 331 kB / 384.8 MB, free: 10 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.5559, allocations: 322.3 kB / 385.1 MB, free: 10 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.556, allocations: 19.16 kB / 385.2 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05/0.606, allocations: 27.66 MB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003978/0.6064, allocations: 85.05 kB / 412.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007024/0.6072, allocations: 209.4 kB / 413.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03386/0.641, allocations: 10.7 MB / 423.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.6411, allocations: 0 / 423.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.6411, allocations: 0 / 423.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.6411, allocations: 0 / 423.8 MB, free: 3.262 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.01005/0.6512, allocations: 1.143 MB / 425 MB, free: 2.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.6513, allocations: 12.03 kB / 425 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006405/0.6519, allocations: 60.47 kB / 425 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.6524, allocations: 333 kB / 425.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.6524, allocations: 24.03 kB / 425.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-05/0.6525, allocations: 34.12 kB / 425.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000945/0.6535, allocations: 463.4 kB / 425.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.6535, allocations: 0 / 425.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.6535, allocations: 12.19 kB / 425.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.6536, allocations: 12 kB / 425.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.6543, allocations: 391 kB / 426.3 MB, free: 1.125 MB / 334.1 MB 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.004348/0.6587, allocations: 2.946 MB / 429.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.6594, allocations: 291.3 kB / 429.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.6597, allocations: 134.4 kB / 429.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002941/0.6626, allocations: 2.475 MB / 432.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.6627, allocations: 30.56 kB / 432.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.435e-06/0.6627, allocations: 0 / 432.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005391/0.6681, allocations: 1.301 MB / 433.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.6682, allocations: 59.41 kB / 433.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.6685, allocations: 258.5 kB / 433.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.6686, allocations: 30.08 kB / 433.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.6687, allocations: 185 kB / 434 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.6689, allocations: 125.6 kB / 434.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.669, allocations: 78.06 kB / 434.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002821/0.6693, allocations: 345.6 kB / 434.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.6695, allocations: 113.3 kB / 434.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.6698, allocations: 235.1 kB / 434.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.6704, allocations: 371.3 kB / 435.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6704, allocations: 2.531 kB / 435.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008462/0.6713, allocations: 456.5 kB / 435.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.6713, allocations: 11.12 kB / 435.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.6713, allocations: 7.469 kB / 435.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004695/0.676, allocations: 236.1 kB / 435.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.6764, allocations: 87.16 kB / 436 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.6781, allocations: 1.85 MB / 437.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.6784, allocations: 31.58 kB / 437.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.6785, allocations: 23.55 kB / 437.9 MB, free: 5.891 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002366/0.6787, allocations: 161.1 kB / 438 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.261e-05/0.6788, allocations: 35.56 kB / 438.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.68, allocations: 0.6866 MB / 438.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.6801, allocations: 7.938 kB / 438.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6801, allocations: 3.984 kB / 438.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.6811, allocations: 0.8676 MB / 439.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.6828, allocations: 1.194 MB / 440.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.6828, allocations: 0 / 440.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.6831, allocations: 61.75 kB / 440.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/0.6847, allocations: 174.3 kB / 441.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.6848, allocations: 14.98 kB / 441.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004783/0.6852, allocations: 0.5679 MB / 441.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6853, allocations: 0 / 441.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.6864, allocations: 0.7391 MB / 442.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.6865, allocations: 107.1 kB / 442.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.6866, allocations: 18.55 kB / 442.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.6868, allocations: 19.41 kB / 442.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.6869, allocations: 26.88 kB / 442.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.6869, allocations: 15.48 kB / 442.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.6872, allocations: 226.4 kB / 442.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6872, allocations: 0 / 442.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.006584/0.6938, allocations: 0.735 MB / 443.5 MB, free: 1.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03884/0.7326, allocations: 6.393 MB / 449.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.7339, allocations: 489 kB / 450.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7339, allocations: 0 / 450.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.7343, allocations: 229.4 kB / 450.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.7355, allocations: 183.6 kB / 450.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.7373, allocations: 1.079 MB / 451.9 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.7378, allocations: 0.8118 MB / 452.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.7379, allocations: 39 kB / 452.7 MB, free: 8.512 MB / 366.1 MB Notification: Performance of SimCode: time 1.402e-06/0.7379, allocations: 0 / 452.7 MB, free: 8.512 MB / 366.1 MB Notification: Performance of Templates: time 0.04998/0.7879, allocations: 29.18 MB / 481.9 MB, free: 11.45 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Media.Examples.R134a.R134a1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.R134a.R134a1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.R134a.R134a1CalcHelperMain.o] Error 1