Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000928/0.0009282, allocations: 88.34 kB / 17.58 MB, free: 5.789 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.001045/0.001045, allocations: 189.7 kB / 18.48 MB, free: 5.23 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.683/1.683, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004961/0.0004962, allocations: 16 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1124, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0334/0.1458, allocations: 24.68 MB / 353.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.1488, allocations: 2.066 MB / 355.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.1489, allocations: 0 / 355.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.1493, allocations: 47.67 kB / 355.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004405/0.1497, allocations: 139.3 kB / 355.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01503/0.1648, allocations: 4.552 MB / 360.5 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.1654, allocations: 390.5 kB / 360.8 MB, free: 4.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.85e-05/0.1654, allocations: 12.89 kB / 360.9 MB, free: 4.105 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.1657, allocations: 123.5 kB / 361 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.1659, allocations: 127.6 kB / 361.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.1659, allocations: 8 kB / 361.1 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01622/0.1822, allocations: 8.22 MB / 369.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.1824, allocations: 67.83 kB / 369.4 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.1826, allocations: 57.64 kB / 369.5 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007886/0.1905, allocations: 2.998 MB / 372.4 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.1905, allocations: 0 / 372.4 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.1905, allocations: 0 / 372.4 MB, free: 8.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1905, allocations: 0 / 372.4 MB, free: 8.488 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.004793/0.1953, allocations: 1.072 MB / 373.5 MB, free: 7.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001177/0.1955, allocations: 12.03 kB / 373.5 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.1956, allocations: 27.75 kB / 373.6 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.196, allocations: 210.8 kB / 373.8 MB, free: 7.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.196, allocations: 12.33 kB / 373.8 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.1961, allocations: 20 kB / 373.8 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007862/0.1969, allocations: 285.4 kB / 374.1 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.1969, allocations: 3.906 kB / 374.1 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.1969, allocations: 8 kB / 374.1 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.197, allocations: 8 kB / 374.1 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.1977, allocations: 315.6 kB / 374.4 MB, free: 6.43 MB / 318.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.001551/0.1993, allocations: 0.8205 MB / 375.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.2, allocations: 245.1 kB / 375.5 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.2003, allocations: 137.6 kB / 375.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2441/0.4444, allocations: 12.9 MB / 388.5 MB, free: 43.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/0.4445, allocations: 42.73 kB / 388.5 MB, free: 43.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 3.216e-06/0.4446, allocations: 0.625 kB / 388.5 MB, free: 43.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002881/0.4474, allocations: 0.6872 MB / 389.2 MB, free: 43.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.4475, allocations: 88.42 kB / 389.3 MB, free: 43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.4476, allocations: 127.6 kB / 389.4 MB, free: 42.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.4476, allocations: 33.12 kB / 389.5 MB, free: 42.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.4477, allocations: 109.2 kB / 389.6 MB, free: 42.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.4478, allocations: 123.5 kB / 389.7 MB, free: 42.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.4478, allocations: 9.281 kB / 389.7 MB, free: 42.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.4479, allocations: 328.1 kB / 390 MB, free: 42.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.4483, allocations: 133.4 kB / 390.2 MB, free: 42.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.4487, allocations: 213 kB / 390.4 MB, free: 42.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.4491, allocations: 150.8 kB / 390.5 MB, free: 42.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4492, allocations: 2.125 kB / 390.5 MB, free: 42.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001131/0.4503, allocations: 410.2 kB / 390.9 MB, free: 42.26 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.4503, allocations: 7.781 kB / 390.9 MB, free: 42.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4503, allocations: 2.531 kB / 390.9 MB, free: 42.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.4504, allocations: 3.25 kB / 390.9 MB, free: 42.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.4508, allocations: 90.66 kB / 391 MB, free: 42.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.4509, allocations: 10.48 kB / 391 MB, free: 42.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.4512, allocations: 33.38 kB / 391.1 MB, free: 42.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.4512, allocations: 18.08 kB / 391.1 MB, free: 42.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.4514, allocations: 144.2 kB / 391.2 MB, free: 42.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.4515, allocations: 21.25 kB / 391.2 MB, free: 42.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.452, allocations: 180.2 kB / 391.4 MB, free: 42.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.4521, allocations: 5.031 kB / 391.4 MB, free: 42.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.4521, allocations: 1.156 kB / 391.4 MB, free: 42.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.4521, allocations: 6.641 kB / 391.4 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.4537, allocations: 0.7722 MB / 392.2 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4537, allocations: 2.781 kB / 392.2 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.4541, allocations: 78.98 kB / 392.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.4542, allocations: 2.938 kB / 392.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.4542, allocations: 14.8 kB / 392.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4542, allocations: 3.609 kB / 392.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4542, allocations: 7.141 kB / 392.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.4557, allocations: 0.7061 MB / 393 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.4558, allocations: 119.6 kB / 393.1 MB, free: 41.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.4559, allocations: 12.39 kB / 393.1 MB, free: 41.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.4562, allocations: 23.27 kB / 393.2 MB, free: 41.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.4562, allocations: 27.97 kB / 393.2 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.4563, allocations: 22.12 kB / 393.2 MB, free: 41.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.904e-05/0.4564, allocations: 95.17 kB / 393.3 MB, free: 41.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4564, allocations: 3.75 kB / 393.3 MB, free: 41.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003632/0.46, allocations: 0.9155 MB / 394.2 MB, free: 41.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004638/0.4647, allocations: 1.196 MB / 395.4 MB, free: 40.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.4658, allocations: 337 kB / 395.8 MB, free: 40.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.4658, allocations: 5.281 kB / 395.8 MB, free: 40.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.4663, allocations: 176.6 kB / 395.9 MB, free: 40.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.467, allocations: 93 kB / 396 MB, free: 40.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.4685, allocations: 0.7498 MB / 396.8 MB, free: 40.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.4687, allocations: 0.7346 MB / 397.5 MB, free: 39.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.4689, allocations: 44.8 kB / 397.6 MB, free: 39.51 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4689, allocations: 0.9375 kB / 397.6 MB, free: 39.51 MB / 318.1 MB Notification: Performance of Templates: time 0.03276/0.5017, allocations: 20.89 MB / 418.4 MB, free: 24.12 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAirCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAirCalcHelperMain.o] Error 1