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.0009545/0.0009549, allocations: 94.36 kB / 17.95 MB, free: 5.633 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.0013/0.0013, allocations: 173.7 kB / 18.86 MB, free: 4.77 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.978/1.978, 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.0005141/0.0005143, allocations: 16 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1262, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.04437/0.1707, allocations: 27.66 MB / 357.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.1743, allocations: 2.31 MB / 359.6 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.1744, allocations: 0 / 359.6 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.1749, allocations: 55.78 kB / 359.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005544/0.1755, allocations: 151.2 kB / 359.8 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02034/0.1958, allocations: 5.03 MB / 364.8 MB, free: 448 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007593/0.1966, allocations: 474.5 kB / 365.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.189e-05/0.1967, allocations: 12.91 kB / 365.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.197, allocations: 123.5 kB / 365.4 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003297/0.1974, allocations: 123.5 kB / 365.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.1974, allocations: 8 kB / 365.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02447/0.2219, allocations: 9.483 MB / 375 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.2222, allocations: 63.84 kB / 375.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.2225, allocations: 113.3 kB / 375.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00904/0.2315, allocations: 3.15 MB / 378.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.2315, allocations: 4 kB / 378.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2316, allocations: 0 / 378.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.2316, allocations: 0 / 378.3 MB, free: 2.871 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.004538/0.2361, allocations: 1.072 MB / 379.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.2362, allocations: 12.03 kB / 379.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.2364, allocations: 24.5 kB / 379.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.2368, allocations: 222.7 kB / 379.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.2368, allocations: 12.33 kB / 379.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.2369, allocations: 12 kB / 379.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000809/0.2377, allocations: 293.4 kB / 380 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2377, allocations: 0 / 380 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.2378, allocations: 8 kB / 380 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.2378, allocations: 11.98 kB / 380 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008406/0.2387, allocations: 311.6 kB / 380.3 MB, free: 0.8086 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.284/0.5227, allocations: 0.8112 MB / 381.1 MB, free: 51.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.524, allocations: 245.4 kB / 381.4 MB, free: 51.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/0.5246, allocations: 134.9 kB / 381.5 MB, free: 51.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01981/0.5444, allocations: 12.9 MB / 394.4 MB, free: 38.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.502e-05/0.5446, allocations: 43.78 kB / 394.4 MB, free: 38.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 5.05e-06/0.5446, allocations: 0 / 394.4 MB, free: 38.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.003608/0.5482, allocations: 0.6846 MB / 395.1 MB, free: 38.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.5483, allocations: 90.08 kB / 395.2 MB, free: 38.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.5485, allocations: 131.5 kB / 395.3 MB, free: 38.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.5486, allocations: 30.11 kB / 395.4 MB, free: 38.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.5486, allocations: 108.3 kB / 395.5 MB, free: 38.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.5488, allocations: 125.4 kB / 395.6 MB, free: 38.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.549, allocations: 34.98 kB / 395.6 MB, free: 38.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5491, allocations: 325.6 kB / 395.9 MB, free: 37.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/0.5496, allocations: 143.7 kB / 396.1 MB, free: 37.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.5503, allocations: 211 kB / 396.3 MB, free: 37.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.5515, allocations: 360.6 kB / 396.6 MB, free: 37.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.5516, allocations: 1.031 kB / 396.6 MB, free: 37.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001425/0.553, allocations: 420.4 kB / 397.1 MB, free: 37.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.553, allocations: 10.59 kB / 397.1 MB, free: 37.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.5531, allocations: 2.922 kB / 397.1 MB, free: 37.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.5531, allocations: 3.5 kB / 397.1 MB, free: 37.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/0.5536, allocations: 88.31 kB / 397.2 MB, free: 37.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/0.5537, allocations: 8.766 kB / 397.2 MB, free: 37.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.5541, allocations: 34.64 kB / 397.2 MB, free: 37.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.5542, allocations: 18.64 kB / 397.2 MB, free: 37.75 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002349/0.5544, allocations: 138.8 kB / 397.4 MB, free: 37.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.5546, allocations: 23.7 kB / 397.4 MB, free: 37.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006763/0.5553, allocations: 189.2 kB / 397.6 MB, free: 37.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.5554, allocations: 12.05 kB / 397.6 MB, free: 37.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/0.5554, allocations: 0.5156 kB / 397.6 MB, free: 37.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.5554, allocations: 3.719 kB / 397.6 MB, free: 37.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.5578, allocations: 0.7726 MB / 398.4 MB, free: 37.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.5579, allocations: 1.219 kB / 398.4 MB, free: 37.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.5584, allocations: 81.83 kB / 398.4 MB, free: 37.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/0.5584, allocations: 3.281 kB / 398.4 MB, free: 37.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/0.5585, allocations: 11.41 kB / 398.4 MB, free: 37.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.5585, allocations: 3.312 kB / 398.5 MB, free: 37.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.013e-05/0.5585, allocations: 5.938 kB / 398.5 MB, free: 37.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.5605, allocations: 0.7029 MB / 399.2 MB, free: 36.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.5607, allocations: 119.9 kB / 399.3 MB, free: 36.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.5608, allocations: 12.42 kB / 399.3 MB, free: 36.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.5612, allocations: 19.53 kB / 399.3 MB, free: 36.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.5613, allocations: 36.25 kB / 399.3 MB, free: 36.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.5614, allocations: 14.78 kB / 399.4 MB, free: 36.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.5615, allocations: 100.3 kB / 399.5 MB, free: 36.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5615, allocations: 0 / 399.5 MB, free: 36.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.004857/0.5664, allocations: 0.9263 MB / 400.4 MB, free: 36.31 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008229/0.5746, allocations: 1.266 MB / 401.6 MB, free: 36.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.5761, allocations: 342 kB / 402 MB, free: 36.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.5762, allocations: 0 / 402 MB, free: 36.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006179/0.5768, allocations: 171.6 kB / 402.2 MB, free: 35.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009391/0.5777, allocations: 102 kB / 402.3 MB, free: 35.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.5797, allocations: 0.7623 MB / 403 MB, free: 35.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.5801, allocations: 0.7346 MB / 403.7 MB, free: 34.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.5803, allocations: 46.2 kB / 403.8 MB, free: 34.74 MB / 318.1 MB Notification: Performance of SimCode: time 1.011e-06/0.5803, allocations: 4 kB / 403.8 MB, free: 34.74 MB / 318.1 MB Notification: Performance of Templates: time 0.04545/0.6258, allocations: 20.95 MB / 424.7 MB, free: 18.3 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++ -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.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