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.002063/0.002063, allocations: 103.5 kB / 16.52 MB, free: 6.711 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.00265/0.00265, allocations: 191.3 kB / 17.44 MB, free: 6.055 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.965/1.965, allocations: 205.1 MB / 223.3 MB, free: 12.5 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.2489/0.2489, allocations: 43.52 MB / 314.1 MB, free: 0.7578 MB / 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.002265/0.002265, allocations: 65.33 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1513, allocations: 57.8 MB / 440.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.08062/0.232, allocations: 76.87 MB / 0.5052 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.4056/0.6377, allocations: 34.75 MB / 0.5392 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00329/0.641, allocations: 56.47 kB / 0.5392 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003353/0.6444, allocations: 0.9246 MB / 0.5401 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01958/0.6641, allocations: 4.295 MB / 0.5443 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02792/0.6921, allocations: 5.585 MB / 0.5498 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01332/0.7055, allocations: 7.233 MB / 0.5568 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003082/0.7086, allocations: 1.159 MB / 0.558 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01371/0.7223, allocations: 5.031 MB / 0.5629 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004569/0.7269, allocations: 1.644 MB / 0.5645 GB, free: 1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005773/0.7275, allocations: 105.4 kB / 0.5646 GB, free: 1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02191/0.7494, allocations: 7.1 MB / 0.5715 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001646/0.7511, allocations: 0.6453 MB / 0.5721 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.7536, allocations: 1.009 MB / 0.5731 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.7648, allocations: 4.751 MB / 0.5778 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.7648, allocations: 4 kB / 0.5778 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.7648, allocations: 0 / 0.5778 GB, free: 12.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.723e-05/0.7649, allocations: 0 / 0.5778 GB, free: 12.8 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.007683/0.7726, allocations: 2.805 MB / 0.5805 GB, free: 11.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.7726, allocations: 8.562 kB / 0.5805 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006323/0.779, allocations: 0.8112 MB / 0.5813 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.7816, allocations: 1.051 MB / 0.5823 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005715/0.7822, allocations: 460.1 kB / 0.5828 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.7825, allocations: 170 kB / 0.5829 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007086/0.7896, allocations: 3.142 MB / 0.586 GB, free: 7.391 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.183e-05/0.7897, allocations: 13.91 kB / 0.586 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.7899, allocations: 78.69 kB / 0.5861 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.79, allocations: 91.64 kB / 0.5862 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006763/0.7968, allocations: 2.693 MB / 0.5888 GB, free: 5.316 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.01849/0.8153, allocations: 15.73 MB / 0.6042 GB, free: 6.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/0.8194, allocations: 1.38 MB / 0.6055 GB, free: 5.461 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.8206, allocations: 0.5455 MB / 0.606 GB, free: 5.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.8218, allocations: 0.692 MB / 0.6067 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.386e-05/0.8218, allocations: 55.55 kB / 0.6068 GB, free: 4.219 MB / 446.1 MB Notification: Performance of pre-optimization done (n=101): time 2.395e-06/0.8218, allocations: 0 / 0.6068 GB, free: 4.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=117): time 0.01717/0.839, allocations: 5.214 MB / 0.6119 GB, free: 14.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.8392, allocations: 167.2 kB / 0.612 GB, free: 14.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.8411, allocations: 1.463 MB / 0.6135 GB, free: 13.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.8412, allocations: 45.7 kB / 0.6135 GB, free: 13.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007443/0.842, allocations: 0.9371 MB / 0.6144 GB, free: 12.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/0.8424, allocations: 420.2 kB / 0.6148 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007125/0.8431, allocations: 459.9 kB / 0.6153 GB, free: 11.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.8433, allocations: 309.1 kB / 0.6155 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.8448, allocations: 0.6759 MB / 0.6162 GB, free: 10.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.8473, allocations: 1.929 MB / 0.6181 GB, free: 7.957 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004215/0.8516, allocations: 2.77 MB / 0.6208 GB, free: 4.672 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-05/0.8516, allocations: 15.56 kB / 0.6208 GB, free: 4.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005608/0.8572, allocations: 2.819 MB / 0.6236 GB, free: 1.824 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.8573, allocations: 20 kB / 0.6236 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.567e-05/0.8573, allocations: 48.06 kB / 0.6236 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.8587, allocations: 444.6 kB / 0.6241 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.8603, allocations: 0.5264 MB / 0.6246 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.8625, allocations: 2.738 MB / 0.6272 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.8647, allocations: 211.7 kB / 0.6274 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.8649, allocations: 140 kB / 0.6276 GB, free: 13.61 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.001064/0.866, allocations: 0.5473 MB / 0.6281 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.8664, allocations: 170 kB / 0.6283 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006931/0.8733, allocations: 4.971 MB / 0.6331 GB, free: 7.875 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-05/0.8734, allocations: 47.94 kB / 0.6332 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.8734, allocations: 0 / 0.6332 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.8734, allocations: 7.969 kB / 0.6332 GB, free: 7.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009817/0.8832, allocations: 7.111 MB / 0.6401 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.8833, allocations: 8.312 kB / 0.6401 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009656/0.8843, allocations: 259.6 kB / 0.6404 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.8856, allocations: 442.7 kB / 0.6408 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.8857, allocations: 28 kB / 0.6408 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.888, allocations: 2.785 MB / 0.6435 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.888, allocations: 8.062 kB / 0.6436 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006342/0.8944, allocations: 4.083 MB / 0.6475 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009392/0.8953, allocations: 417.8 kB / 0.6479 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.8956, allocations: 67.36 kB / 0.648 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.8967, allocations: 135.6 kB / 0.6481 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.8969, allocations: 96.86 kB / 0.6482 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.783e-05/0.897, allocations: 51.97 kB / 0.6483 GB, free: 8.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00174/0.8987, allocations: 1.232 MB / 0.6495 GB, free: 6.781 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8987, allocations: 0 / 0.6495 GB, free: 6.781 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005559/0.9043, allocations: 1.406 MB / 0.6509 GB, free: 5.375 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.004999/0.9093, allocations: 1.381 MB / 0.6522 GB, free: 4.102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00469/0.914, allocations: 2.227 MB / 0.6544 GB, free: 1.879 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.9141, allocations: 448 / 0.6544 GB, free: 1.879 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002347/0.9164, allocations: 1.347 MB / 0.6557 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004456/0.9209, allocations: 0.9002 MB / 0.6566 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008364/0.9293, allocations: 5.663 MB / 0.6621 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.9305, allocations: 1.644 MB / 0.6637 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.931, allocations: 155.4 kB / 0.6639 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of SimCode: time 1.001e-06/0.931, allocations: 0 / 0.6639 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of Templates: time 0.3928/1.324, allocations: 81.1 MB / 0.7431 GB, free: 236.3 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