Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 90.59 kB / 17.63 MB, free: 6.133 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.001261/0.001262, allocations: 188.3 kB / 18.52 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.3 MB / 242.5 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2612/0.2612, allocations: 44.22 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 12.67 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1489, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.5174/0.6663, allocations: 136.9 MB / 0.5948 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.6687, allocations: 1.235 MB / 0.596 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.6688, allocations: 0 / 0.596 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.6691, allocations: 31.83 kB / 0.596 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.6726, allocations: 0.7516 MB / 0.5968 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.915e-06/0.6726, allocations: 0 / 0.5968 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.6728, allocations: 83.67 kB / 0.5969 GB, free: 8.086 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.375e-05/0.6729, allocations: 3.984 kB / 0.5969 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.806e-05/0.673, allocations: 15.94 kB / 0.5969 GB, free: 8.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.6731, allocations: 23.91 kB / 0.5969 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.6731, allocations: 4 kB / 0.5969 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004493/0.6776, allocations: 1.544 MB / 0.5984 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.6777, allocations: 11.98 kB / 0.5984 GB, free: 6.484 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.6778, allocations: 29.7 kB / 0.5985 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.6792, allocations: 0.5711 MB / 0.599 GB, free: 5.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.6792, allocations: 0 / 0.599 GB, free: 5.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6792, allocations: 0 / 0.599 GB, free: 5.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.6792, allocations: 0 / 0.599 GB, free: 5.879 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007986/0.68, allocations: 479.1 kB / 0.5995 GB, free: 5.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6801, allocations: 12.03 kB / 0.5995 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.6801, allocations: 12.52 kB / 0.5995 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.6803, allocations: 170.9 kB / 0.5997 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.6803, allocations: 0 / 0.5997 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.6803, allocations: 8 kB / 0.5997 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.6805, allocations: 65.67 kB / 0.5997 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.6805, allocations: 0 / 0.5997 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.6805, allocations: 4 kB / 0.5997 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.6806, allocations: 8 kB / 0.5997 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.6807, allocations: 47.97 kB / 0.5998 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.6813, allocations: 308.7 kB / 0.6001 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.126e-05/0.6813, allocations: 30.58 kB / 0.6001 GB, free: 4.605 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.727e-05/0.6814, allocations: 12.94 kB / 0.6001 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/0.6817, allocations: 255.3 kB / 0.6004 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.6818, allocations: 34.56 kB / 0.6004 GB, free: 4.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 3.056e-06/0.6818, allocations: 4.047 kB / 0.6004 GB, free: 4.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001985/0.682, allocations: 61.61 kB / 0.6005 GB, free: 4.172 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.682, allocations: 59.36 kB / 0.6005 GB, free: 4.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.397e-05/0.6821, allocations: 98.19 kB / 0.6006 GB, free: 3.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.6822, allocations: 25.7 kB / 0.6006 GB, free: 3.965 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.6822, allocations: 99.88 kB / 0.6007 GB, free: 3.863 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.6822, allocations: 11.81 kB / 0.6007 GB, free: 3.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.6822, allocations: 0 / 0.6007 GB, free: 3.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.6824, allocations: 318.8 kB / 0.601 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.6825, allocations: 11.98 kB / 0.6011 GB, free: 3.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.808e-05/0.6825, allocations: 31.42 kB / 0.6011 GB, free: 3.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.6826, allocations: 23.95 kB / 0.6011 GB, free: 3.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6826, allocations: 0 / 0.6011 GB, free: 3.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001144/0.6827, allocations: 69.62 kB / 0.6012 GB, free: 3.379 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6827, allocations: 8 kB / 0.6012 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6827, allocations: 3.984 kB / 0.6012 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.6827, allocations: 0.9375 kB / 0.6012 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.463e-05/0.6828, allocations: 16 kB / 0.6012 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.6828, allocations: 3.938 kB / 0.6012 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.6829, allocations: 15.8 kB / 0.6012 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.6829, allocations: 4 kB / 0.6012 GB, free: 3.328 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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 8.682e-05/0.683, allocations: 118.5 kB / 0.6013 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.683, allocations: 4 kB / 0.6013 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.6832, allocations: 58.12 kB / 0.6014 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6832, allocations: 0 / 0.6014 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6832, allocations: 3.984 kB / 0.6014 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.6832, allocations: 7.938 kB / 0.6014 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.6834, allocations: 161.6 kB / 0.6016 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6834, allocations: 7.938 kB / 0.6016 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.6834, allocations: 5.812 kB / 0.6016 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.6834, allocations: 0 / 0.6016 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.6834, allocations: 4 kB / 0.6016 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6835, allocations: 0 / 0.6016 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6835, allocations: 0 / 0.6016 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.6836, allocations: 159.4 kB / 0.6017 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.6836, allocations: 77.11 kB / 0.6018 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.6837, allocations: 4 kB / 0.6018 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.6837, allocations: 7.938 kB / 0.6018 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.6837, allocations: 4 kB / 0.6018 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.6838, allocations: 0 / 0.6018 GB, free: 2.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.6838, allocations: 83.27 kB / 0.6019 GB, free: 2.543 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6838, allocations: 0 / 0.6019 GB, free: 2.543 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.6843, allocations: 135.9 kB / 0.602 GB, free: 2.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.0007101/0.685, allocations: 304.6 kB / 0.6023 GB, free: 2.113 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.6851, allocations: 31.98 kB / 0.6023 GB, free: 2.082 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6851, allocations: 0 / 0.6023 GB, free: 2.082 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.6852, allocations: 11.94 kB / 0.6024 GB, free: 2.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.6855, allocations: 13.97 kB / 0.6024 GB, free: 2.059 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.6858, allocations: 190.4 kB / 0.6026 GB, free: 1.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.6862, allocations: 0.6809 MB / 0.6032 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.6862, allocations: 19.44 kB / 0.6032 GB, free: 1.109 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.6862, allocations: 0 / 0.6032 GB, free: 1.109 MB / 430.1 MB Notification: Performance of Templates: time 0.00524/0.6915, allocations: 2.766 MB / 0.6059 GB, free: 14.34 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAirCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAirCalcHelperMain.o] Error 1