Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 89.3 kB / 16.67 MB, free: 6.59 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.001052/0.001052, allocations: 182.5 kB / 17.57 MB, free: 6.188 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.969/1.969, allocations: 205.4 MB / 223.8 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2747/0.2747, allocations: 43.59 MB / 315.6 MB, free: 420 kB / 254.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.0006713/0.0006713, allocations: 22.31 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1497, allocations: 58.86 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.08017/0.2299, allocations: 75.52 MB / 0.5074 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.432/0.662, allocations: 34.28 MB / 0.5409 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003361/0.6654, allocations: 52.47 kB / 0.541 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004575/0.67, allocations: 0.9276 MB / 0.5419 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01958/0.6896, allocations: 4.295 MB / 0.5461 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02187/0.7115, allocations: 5.581 MB / 0.5515 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01312/0.7246, allocations: 7.233 MB / 0.5586 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002781/0.7274, allocations: 1.151 MB / 0.5597 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0119/0.7394, allocations: 5.022 MB / 0.5646 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004867/0.7443, allocations: 1.631 MB / 0.5662 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005415/0.7448, allocations: 100.6 kB / 0.5663 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02303/0.7679, allocations: 7.1 MB / 0.5732 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.769, allocations: 0.6366 MB / 0.5739 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002227/0.7713, allocations: 1.027 MB / 0.5749 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.7839, allocations: 4.699 MB / 0.5794 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.784, allocations: 4 kB / 0.5794 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.784, allocations: 0 / 0.5794 GB, free: 12.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.749e-05/0.784, allocations: 2.562 kB / 0.5794 GB, free: 12.79 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.00799/0.792, allocations: 2.437 MB / 0.5818 GB, free: 11.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.7921, allocations: 9.469 kB / 0.5818 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00623/0.7983, allocations: 0.8471 MB / 0.5827 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.8004, allocations: 1.058 MB / 0.5837 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/0.8009, allocations: 455.7 kB / 0.5841 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003343/0.8013, allocations: 175.5 kB / 0.5843 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006856/0.8081, allocations: 3.203 MB / 0.5874 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.704e-05/0.8082, allocations: 13.09 kB / 0.5874 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/0.8084, allocations: 79.97 kB / 0.5875 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.8086, allocations: 88.92 kB / 0.5876 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006666/0.8152, allocations: 2.807 MB / 0.5903 GB, free: 6.824 MB / 430.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.0206/0.8358, allocations: 15.81 MB / 0.6058 GB, free: 7.844 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004456/0.8403, allocations: 1.472 MB / 0.6072 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.8416, allocations: 0.5816 MB / 0.6078 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/0.8429, allocations: 0.7083 MB / 0.6085 GB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.8429, allocations: 48.81 kB / 0.6085 GB, free: 5.453 MB / 446.1 MB Notification: Performance of pre-optimization done (n=101): time 2.926e-06/0.843, allocations: 0 / 0.6085 GB, free: 5.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=117): time 0.01776/0.8607, allocations: 5.516 MB / 0.6139 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000198/0.861, allocations: 171.2 kB / 0.6141 GB, free: 400 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.8638, allocations: 1.46 MB / 0.6155 GB, free: 14.92 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001964/0.864, allocations: 57.64 kB / 0.6156 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.8651, allocations: 0.9286 MB / 0.6165 GB, free: 13.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005112/0.8656, allocations: 423.3 kB / 0.6169 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/0.8659, allocations: 206.2 kB / 0.6171 GB, free: 13.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.8661, allocations: 305.1 kB / 0.6174 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.8678, allocations: 0.7189 MB / 0.6181 GB, free: 12.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002628/0.8705, allocations: 1.957 MB / 0.62 GB, free: 9.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004753/0.8752, allocations: 2.861 MB / 0.6228 GB, free: 6.297 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-05/0.8753, allocations: 12 kB / 0.6228 GB, free: 6.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006315/0.8816, allocations: 2.89 MB / 0.6256 GB, free: 3.371 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.8817, allocations: 21.72 kB / 0.6256 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.94e-05/0.8817, allocations: 47.94 kB / 0.6257 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.8831, allocations: 437.1 kB / 0.6261 GB, free: 2.871 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.8848, allocations: 0.5498 MB / 0.6266 GB, free: 2.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.8873, allocations: 2.755 MB / 0.6293 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/0.8898, allocations: 223.7 kB / 0.6295 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/0.89, allocations: 140 kB / 0.6297 GB, free: 15.12 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume2_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume1_1.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,7), (1,7), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001065/0.8911, allocations: 0.5473 MB / 0.6302 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.8914, allocations: 177.9 kB / 0.6304 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007942/0.8993, allocations: 5.078 MB / 0.6353 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.49e-05/0.8994, allocations: 47.92 kB / 0.6354 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.8995, allocations: 0 / 0.6354 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.8995, allocations: 3.984 kB / 0.6354 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.9116, allocations: 7.227 MB / 0.6424 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.9117, allocations: 4.031 kB / 0.6424 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.9128, allocations: 303.6 kB / 0.6427 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/0.9142, allocations: 441.8 kB / 0.6431 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.571e-05/0.9143, allocations: 27.98 kB / 0.6432 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.9168, allocations: 2.798 MB / 0.6459 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9168, allocations: 0 / 0.6459 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007246/0.9241, allocations: 4.194 MB / 0.65 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/0.9258, allocations: 0.5517 MB / 0.6505 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/0.926, allocations: 39.86 kB / 0.6506 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.9272, allocations: 139.7 kB / 0.6507 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.9275, allocations: 104.9 kB / 0.6508 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.9276, allocations: 55.97 kB / 0.6509 GB, free: 9.012 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002093/0.9297, allocations: 1.229 MB / 0.6521 GB, free: 7.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.146e-06/0.9297, allocations: 0 / 0.6521 GB, free: 7.762 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006945/0.9367, allocations: 1.405 MB / 0.6534 GB, free: 6.359 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(2,5), (2,5), (2,5), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007491/0.9442, allocations: 1.381 MB / 0.6548 GB, free: 5.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005645/0.9499, allocations: 2.317 MB / 0.657 GB, free: 2.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/0.9499, allocations: 448 / 0.657 GB, free: 2.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00266/0.9526, allocations: 1.378 MB / 0.6584 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006053/0.9587, allocations: 0.8974 MB / 0.6593 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.9687, allocations: 5.796 MB / 0.6649 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.9706, allocations: 1.644 MB / 0.6665 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/0.9712, allocations: 155.4 kB / 0.6667 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of SimCode: time 1.663e-06/0.9712, allocations: 0 / 0.6667 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of Templates: time 0.4092/1.38, allocations: 80.84 MB / 0.7456 GB, free: 236.5 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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 OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2CalcHelperMain.o] Error 1