Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000976/0.0009759, allocations: 95.22 kB / 17.95 MB, free: 5.629 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.001376/0.001377, allocations: 178.5 kB / 18.86 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 225 MB, free: 13.07 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.000532/0.000532, allocations: 8 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1398, allocations: 47.59 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5541/0.694, allocations: 182.8 MB / 0.5004 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007115/0.7012, allocations: 4.811 MB / 0.5051 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006008/0.7018, allocations: 3.938 kB / 0.5051 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009535/0.7028, allocations: 211 kB / 0.5053 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.7039, allocations: 370.1 kB / 0.5056 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009958/0.7139, allocations: 2.52 MB / 0.5081 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002799/0.7167, allocations: 1.664 MB / 0.5097 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.7171, allocations: 118 kB / 0.5098 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004723/0.7218, allocations: 1.286 MB / 0.5111 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.7231, allocations: 430.5 kB / 0.5115 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.7233, allocations: 28 kB / 0.5115 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/0.7335, allocations: 4.293 MB / 0.5157 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004382/0.734, allocations: 203.4 kB / 0.5159 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006761/0.7347, allocations: 300.6 kB / 0.5162 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004787/0.7395, allocations: 2.046 MB / 0.5182 GB, free: 492 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7395, allocations: 0 / 0.5182 GB, free: 492 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7395, allocations: 4 kB / 0.5182 GB, free: 488 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.7395, allocations: 0 / 0.5182 GB, free: 488 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00293/0.7425, allocations: 1.033 MB / 0.5192 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.7425, allocations: 8.031 kB / 0.5192 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004379/0.743, allocations: 59.44 kB / 0.5193 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006433/0.7436, allocations: 357.9 kB / 0.5196 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.7437, allocations: 40.94 kB / 0.5197 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.831e-05/0.7438, allocations: 40 kB / 0.5197 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00099/0.7448, allocations: 0.51 MB / 0.5202 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.7448, allocations: 4 kB / 0.5202 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/0.7449, allocations: 24 kB / 0.5202 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.7449, allocations: 8 kB / 0.5202 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.7459, allocations: 0.5973 MB / 0.5208 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/0.7494, allocations: 2.171 MB / 0.5229 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.7506, allocations: 0.5665 MB / 0.5235 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.751, allocations: 265.9 kB / 0.5237 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006045/0.7517, allocations: 0.7009 MB / 0.5244 GB, free: 9.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.7517, allocations: 39 kB / 0.5245 GB, free: 9.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.765e-06/0.7517, allocations: 0 / 0.5245 GB, free: 9.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.01484/0.7666, allocations: 3.807 MB / 0.5282 GB, free: 5.676 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.7666, allocations: 63.91 kB / 0.5282 GB, free: 5.602 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.7671, allocations: 294.5 kB / 0.5285 GB, free: 5.305 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.7673, allocations: 41.7 kB / 0.5286 GB, free: 5.258 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.7675, allocations: 189.2 kB / 0.5287 GB, free: 5.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.7677, allocations: 224.7 kB / 0.529 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.7679, allocations: 57.69 kB / 0.529 GB, free: 4.785 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.768, allocations: 354.8 kB / 0.5294 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/0.7688, allocations: 317.1 kB / 0.5297 GB, free: 4.121 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/0.7695, allocations: 388.9 kB / 0.53 GB, free: 3.723 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.7711, allocations: 0.7203 MB / 0.5307 GB, free: 2.988 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.7711, allocations: 0 / 0.5307 GB, free: 2.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002398/0.7735, allocations: 0.9834 MB / 0.5317 GB, free: 1.988 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.7735, allocations: 4 kB / 0.5317 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.7736, allocations: 4 kB / 0.5317 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/0.7753, allocations: 366.3 kB / 0.532 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.7758, allocations: 119.8 kB / 0.5322 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2864/1.062, allocations: 3.515 MB / 0.5356 GB, free: 162.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/1.063, allocations: 62.27 kB / 0.5357 GB, free: 162.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-05/1.063, allocations: 27.09 kB / 0.5357 GB, free: 162.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004751/1.064, allocations: 191.2 kB / 0.5359 GB, free: 162.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/1.064, allocations: 44.5 kB / 0.5359 GB, free: 162.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/1.067, allocations: 1.041 MB / 0.5369 GB, free: 162.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/1.067, allocations: 7.094 kB / 0.5369 GB, free: 162.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/1.067, allocations: 0 / 0.5369 GB, free: 162.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002535/1.07, allocations: 1.092 MB / 0.538 GB, free: 162.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/1.074, allocations: 1.709 MB / 0.5397 GB, free: 161.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.074, allocations: 4.469 kB / 0.5397 GB, free: 161.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/1.074, allocations: 110.9 kB / 0.5398 GB, free: 161.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/1.076, allocations: 391.8 kB / 0.5401 GB, free: 161.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/1.077, allocations: 29.45 kB / 0.5402 GB, free: 161.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/1.078, allocations: 0.884 MB / 0.541 GB, free: 160.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.078, allocations: 0.7031 kB / 0.541 GB, free: 160.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/1.082, allocations: 1.369 MB / 0.5424 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/1.082, allocations: 119.9 kB / 0.5425 GB, free: 160.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/1.082, allocations: 20.62 kB / 0.5425 GB, free: 160.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007285/1.083, allocations: 64.41 kB / 0.5426 GB, free: 160.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/1.083, allocations: 39.45 kB / 0.5426 GB, free: 160.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.34e-05/1.083, allocations: 30.42 kB / 0.5426 GB, free: 160.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003904/1.083, allocations: 227 kB / 0.5429 GB, free: 160.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.083, allocations: 3.938 kB / 0.5429 GB, free: 160.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001935/1.085, allocations: 451.4 kB / 0.5433 GB, free: 160 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (62): * Single equations (assignments): 61 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001776/1.087, allocations: 0.5816 MB / 0.5439 GB, free: 159.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002347/1.09, allocations: 0.9972 MB / 0.5448 GB, free: 159.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.09, allocations: 5.969 kB / 0.5448 GB, free: 159.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.091, allocations: 422.7 kB / 0.5452 GB, free: 159.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/1.092, allocations: 293.2 kB / 0.5455 GB, free: 159.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/1.096, allocations: 1.637 MB / 0.5471 GB, free: 158.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/1.096, allocations: 0.8472 MB / 0.5479 GB, free: 157.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/1.096, allocations: 62.47 kB / 0.548 GB, free: 157.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/1.096, allocations: 0 / 0.548 GB, free: 157.6 MB / 430.1 MB Notification: Performance of Templates: time 0.02161/1.118, allocations: 17.37 MB / 0.565 GB, free: 144.7 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.MoistAirCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAirCalcHelperMain.o] Error 1