Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 95.94 kB / 17.96 MB, free: 5.426 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.001355/0.001356, allocations: 176.3 kB / 18.86 MB, free: 4.637 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.908/1.908, allocations: 205.4 MB / 225 MB, free: 12.85 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.0005252/0.0005251, allocations: 12 kB / 282 MB, free: 3.379 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1415, allocations: 47.58 MB / 329.6 MB, free: 3.723 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.4236/0.5652, allocations: 65.99 MB / 395.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008231/0.5735, allocations: 5.479 MB / 401.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007552/0.5743, allocations: 7.031 kB / 401.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.5757, allocations: 314 kB / 401.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.5771, allocations: 0.4919 MB / 401.9 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02364/0.6008, allocations: 5.91 MB / 407.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004028/0.6048, allocations: 2.312 MB / 410.1 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004501/0.6053, allocations: 161.2 kB / 410.3 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.6065, allocations: 0.5241 MB / 410.8 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009182/0.6074, allocations: 0.5655 MB / 411.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.6075, allocations: 37.41 kB / 411.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02417/0.6317, allocations: 10.28 MB / 421.7 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005852/0.6323, allocations: 273.2 kB / 421.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008217/0.6331, allocations: 413.7 kB / 422.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.6437, allocations: 4.068 MB / 426.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.6438, allocations: 0 / 426.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.6438, allocations: 3.938 kB / 426.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.6438, allocations: 0 / 426.4 MB, free: 1.965 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004302/0.6481, allocations: 1.398 MB / 427.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/0.6482, allocations: 8.031 kB / 427.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004291/0.6486, allocations: 87.17 kB / 427.9 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.6492, allocations: 444.9 kB / 428.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.6492, allocations: 49.31 kB / 428.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.6494, allocations: 60 kB / 428.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.6512, allocations: 0.8068 MB / 429.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.6512, allocations: 7.906 kB / 429.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.6513, allocations: 28 kB / 429.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.6513, allocations: 12 kB / 429.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.6532, allocations: 1.032 MB / 430.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01974/0.6729, allocations: 12.83 MB / 443.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.6748, allocations: 0.7581 MB / 443.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/0.6754, allocations: 416.5 kB / 444.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01654/0.6919, allocations: 12.3 MB / 456.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.184e-05/0.6921, allocations: 43.22 kB / 456.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 4.579e-06/0.6921, allocations: 0 / 456.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.01137/0.7035, allocations: 3.419 MB / 460.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.7036, allocations: 60.41 kB / 460.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.7041, allocations: 356.5 kB / 460.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.7042, allocations: 41.7 kB / 460.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.7044, allocations: 236.6 kB / 460.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.7048, allocations: 317.9 kB / 461.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.7049, allocations: 73.67 kB / 461.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.7052, allocations: 362.7 kB / 461.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.7058, allocations: 373.8 kB / 461.9 MB, free: 9.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000984/0.7068, allocations: 496.2 kB / 462.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.7086, allocations: 0.8982 MB / 463.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.7087, allocations: 0 / 463.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002733/0.7114, allocations: 1.121 MB / 464.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.7115, allocations: 11.94 kB / 464.4 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.7115, allocations: 4 kB / 464.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008902/0.7124, allocations: 169.5 kB / 464.5 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/0.7132, allocations: 187.8 kB / 464.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.717, allocations: 3.915 MB / 468.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007589/0.7177, allocations: 60 kB / 468.7 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.7179, allocations: 43.98 kB / 468.7 MB, free: 2.539 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005006/0.7184, allocations: 229.6 kB / 469 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000471/0.7188, allocations: 63.34 kB / 469 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.7214, allocations: 1.282 MB / 470.3 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.7214, allocations: 8 kB / 470.3 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.7215, allocations: 4 kB / 470.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001903/0.7234, allocations: 1.32 MB / 471.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.727, allocations: 1.968 MB / 473.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.727, allocations: 0 / 473.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/0.7277, allocations: 167.8 kB / 473.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/0.7296, allocations: 293.2 kB / 474.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.7297, allocations: 35.98 kB / 474.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.7308, allocations: 1.289 MB / 475.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.7308, allocations: 4 kB / 475.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.7337, allocations: 1.413 MB / 476.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.7341, allocations: 140.5 kB / 476.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.7343, allocations: 27.88 kB / 477 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008382/0.7351, allocations: 55.81 kB / 477 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.7352, allocations: 56.92 kB / 477.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.7354, allocations: 39.97 kB / 477.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004258/0.7358, allocations: 291 kB / 477.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7358, allocations: 0 / 477.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006442/0.7423, allocations: 1.39 MB / 478.8 MB, free: 8.172 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01018/0.7525, allocations: 1.739 MB / 480.5 MB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00304/0.7555, allocations: 1.148 MB / 481.7 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.7556, allocations: 4 kB / 481.7 MB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.7569, allocations: 491.5 kB / 482.2 MB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/0.7599, allocations: 383.4 kB / 482.5 MB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/0.7644, allocations: 2.092 MB / 484.6 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008224/0.7653, allocations: 0.9089 MB / 485.5 MB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003774/0.7656, allocations: 99.34 kB / 485.6 MB, free: 1.348 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.7657, allocations: 0 / 485.6 MB, free: 1.348 MB / 382.1 MB Notification: Performance of Templates: time 0.08175/0.8474, allocations: 41.93 MB / 0.5152 GB, free: 7.324 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.o] Error 1