Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 108.3 kB / 17.81 MB, free: 5.559 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.002049/0.002049, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.887/1.887, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001615/0.001615, allocations: 47.94 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1508, allocations: 46.61 MB / 327.3 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.5444/0.6953, allocations: 141.9 MB / 469.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.6981, allocations: 1.705 MB / 470.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.6983, allocations: 4 kB / 470.8 MB, free: 7.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008515/0.6992, allocations: 159.2 kB / 471 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005985/0.6998, allocations: 322.5 kB / 471.3 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.7009, allocations: 387.9 kB / 471.7 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.7022, allocations: 1.312 MB / 473 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.7025, allocations: 80.48 kB / 473.1 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006257/0.7031, allocations: 354.7 kB / 473.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004581/0.7036, allocations: 330.8 kB / 473.7 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.7036, allocations: 27.88 kB / 473.8 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.704, allocations: 143.7 kB / 473.9 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.7041, allocations: 83.72 kB / 474 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.7044, allocations: 171.3 kB / 474.1 MB, free: 4.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.7048, allocations: 384.6 kB / 474.5 MB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7048, allocations: 0 / 474.5 MB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7049, allocations: 0 / 474.5 MB, free: 4.273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.7049, allocations: 4 kB / 474.5 MB, free: 4.27 MB / 366.1 MB 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.001055/0.7059, allocations: 0.5894 MB / 475.1 MB, free: 3.633 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.706, allocations: 8.031 kB / 475.1 MB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.7063, allocations: 45.3 kB / 475.2 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.7068, allocations: 287.7 kB / 475.4 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.7068, allocations: 16.94 kB / 475.5 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.7068, allocations: 24.38 kB / 475.5 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005344/0.7074, allocations: 305.7 kB / 475.8 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.7074, allocations: 0 / 475.8 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.7075, allocations: 12 kB / 475.8 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.7075, allocations: 8 kB / 475.8 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.7078, allocations: 210.1 kB / 476 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.7097, allocations: 1.287 MB / 477.3 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.7101, allocations: 190.6 kB / 477.5 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.7102, allocations: 96.77 kB / 477.6 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.7104, allocations: 170.2 kB / 477.7 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.7105, allocations: 34.55 kB / 477.8 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.7105, allocations: 4 kB / 477.8 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002634/0.7131, allocations: 1.03 MB / 478.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.7132, allocations: 55.41 kB / 478.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.7135, allocations: 254.6 kB / 479.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.7135, allocations: 37.69 kB / 479.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.7137, allocations: 172.2 kB / 479.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.09e-05/0.7138, allocations: 98.59 kB / 479.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.7139, allocations: 69.47 kB / 479.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.7141, allocations: 338.8 kB / 479.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.7143, allocations: 79.97 kB / 479.9 MB, free: 14.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.7145, allocations: 179.8 kB / 480.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.7149, allocations: 279.8 kB / 480.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.715, allocations: 4 kB / 480.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006834/0.7157, allocations: 447.7 kB / 480.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.7157, allocations: 4 kB / 480.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.7157, allocations: 7.938 kB / 480.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.7159, allocations: 50.05 kB / 480.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.7162, allocations: 71.91 kB / 480.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.7184, allocations: 2.575 MB / 483.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.7187, allocations: 20.06 kB / 483.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.7187, allocations: 15.98 kB / 483.5 MB, free: 10.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.7189, allocations: 153.7 kB / 483.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.719, allocations: 31.62 kB / 483.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006242/0.7196, allocations: 366.8 kB / 484.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.7196, allocations: 4 kB / 484.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.7196, allocations: 0 / 484.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006484/0.7203, allocations: 0.6109 MB / 484.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.7214, allocations: 0.7625 MB / 485.4 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.7214, allocations: 0 / 485.4 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.7217, allocations: 55.91 kB / 485.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-05/0.7218, allocations: 20.84 kB / 485.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.7218, allocations: 8 kB / 485.5 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009108/0.7227, allocations: 1.282 MB / 486.8 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.7227, allocations: 4.031 kB / 486.8 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006712/0.7234, allocations: 0.5147 MB / 487.3 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-05/0.7235, allocations: 100.8 kB / 487.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.7236, allocations: 7.984 kB / 487.4 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.7238, allocations: 16.06 kB / 487.4 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.7239, allocations: 27.89 kB / 487.5 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.7239, allocations: 11.98 kB / 487.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.7241, allocations: 189.9 kB / 487.7 MB, free: 5.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7241, allocations: 0 / 487.7 MB, free: 5.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004444/0.7246, allocations: 103.9 kB / 487.8 MB, free: 5.785 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004023/0.725, allocations: 139.2 kB / 487.9 MB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.7256, allocations: 445.1 kB / 488.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7257, allocations: 0.8125 kB / 488.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.726, allocations: 222.5 kB / 488.6 MB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009737/0.727, allocations: 166.2 kB / 488.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.7283, allocations: 0.7987 MB / 489.5 MB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.7287, allocations: 0.7645 MB / 490.3 MB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.903e-05/0.7288, allocations: 35.44 kB / 490.3 MB, free: 3.133 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.7288, allocations: 0 / 490.3 MB, free: 3.133 MB / 382.1 MB Notification: Performance of Templates: time 0.009827/0.7387, allocations: 6.384 MB / 496.7 MB, free: 12.75 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAirCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAirCalcHelperMain.o] Error 1