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.001405/0.001405, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001476/0.001477, allocations: 197.9 kB / 18.73 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.829/1.829, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001216/0.001216, allocations: 51.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1363, allocations: 46.63 MB / 327.3 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.426/0.5624, allocations: 67.29 MB / 394.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009358/0.5718, allocations: 5.551 MB / 400.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004248/0.5722, allocations: 6.531 kB / 400.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.5738, allocations: 309.9 kB / 400.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.5751, allocations: 0.4975 MB / 400.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02258/0.5977, allocations: 5.904 MB / 406.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003885/0.6016, allocations: 2.313 MB / 409.1 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.602, allocations: 165.8 kB / 409.3 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.6032, allocations: 0.5288 MB / 409.8 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008733/0.6041, allocations: 0.5865 MB / 410.4 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.6042, allocations: 41.72 kB / 410.4 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02503/0.6292, allocations: 10.28 MB / 420.7 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006173/0.6299, allocations: 282.5 kB / 421 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009614/0.6309, allocations: 391.8 kB / 421.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.6421, allocations: 4.109 MB / 425.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.6422, allocations: 0 / 425.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.6422, allocations: 4 kB / 425.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.6422, allocations: 0 / 425.5 MB, free: 1.168 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.005268/0.6475, allocations: 1.551 MB / 427 MB, free: 15.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.827e-05/0.6476, allocations: 14.47 kB / 427.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005388/0.6481, allocations: 83.8 kB / 427.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007255/0.6488, allocations: 442.3 kB / 427.6 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.6489, allocations: 47.31 kB / 427.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.649, allocations: 64 kB / 427.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.6509, allocations: 0.799 MB / 428.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-05/0.651, allocations: 7.891 kB / 428.5 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.112e-05/0.651, allocations: 32 kB / 428.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.6511, allocations: 19.98 kB / 428.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.6531, allocations: 1.028 MB / 429.6 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02097/0.6741, allocations: 12.77 MB / 442.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.6765, allocations: 0.7408 MB / 443.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/0.6773, allocations: 411.3 kB / 443.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01871/0.696, allocations: 12.25 MB / 455.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.865e-05/0.6962, allocations: 43.22 kB / 455.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 6.923e-06/0.6962, allocations: 0 / 455.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.01237/0.7086, allocations: 3.377 MB / 459.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.7087, allocations: 68.39 kB / 459.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005858/0.7093, allocations: 348.5 kB / 459.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.7094, allocations: 45.7 kB / 459.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.7097, allocations: 240.6 kB / 459.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.7101, allocations: 302.2 kB / 460.1 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.7104, allocations: 162.5 kB / 460.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002805/0.7107, allocations: 370.7 kB / 460.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007702/0.7114, allocations: 369.8 kB / 461 MB, free: 8.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.7125, allocations: 496.1 kB / 461.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.7145, allocations: 0.9021 MB / 462.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7145, allocations: 4 kB / 462.4 MB, free: 7.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002801/0.7173, allocations: 1.112 MB / 463.5 MB, free: 6.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.7174, allocations: 12.22 kB / 463.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.7174, allocations: 8 kB / 463.5 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008606/0.7183, allocations: 163.3 kB / 463.7 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/0.7191, allocations: 187.8 kB / 463.9 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004421/0.7235, allocations: 3.923 MB / 467.8 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006796/0.7242, allocations: 55.91 kB / 467.9 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.7243, allocations: 43.98 kB / 467.9 MB, free: 1.684 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.0005361/0.7249, allocations: 233.5 kB / 468.1 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004665/0.7254, allocations: 59.44 kB / 468.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002876/0.7282, allocations: 1.274 MB / 469.5 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.7283, allocations: 12 kB / 469.5 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7283, allocations: 0 / 469.5 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002272/0.7306, allocations: 1.32 MB / 470.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004411/0.735, allocations: 1.974 MB / 472.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.735, allocations: 0 / 472.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/0.7358, allocations: 167.7 kB / 472.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/0.7376, allocations: 297.1 kB / 473.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.7377, allocations: 31.98 kB / 473.2 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.739, allocations: 1.285 MB / 474.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/0.739, allocations: 15.95 kB / 474.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.7423, allocations: 1.409 MB / 476 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.7427, allocations: 124.6 kB / 476.1 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.7429, allocations: 23.98 kB / 476.1 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007933/0.7437, allocations: 59.75 kB / 476.2 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.7439, allocations: 60.86 kB / 476.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.744, allocations: 39.97 kB / 476.3 MB, free: 8.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004749/0.7445, allocations: 283 kB / 476.5 MB, free: 8.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7445, allocations: 0 / 476.5 MB, free: 8.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006769/0.7513, allocations: 1.394 MB / 477.9 MB, free: 7.328 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.01012/0.7614, allocations: 1.738 MB / 479.7 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.7644, allocations: 1.148 MB / 480.8 MB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.7644, allocations: 7.938 kB / 480.8 MB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.7655, allocations: 491.2 kB / 481.3 MB, free: 4.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.7679, allocations: 382.4 kB / 481.7 MB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/0.7727, allocations: 1.951 MB / 483.6 MB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009634/0.7737, allocations: 0.9128 MB / 484.5 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.7741, allocations: 95.41 kB / 484.6 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7741, allocations: 0 / 484.6 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of Templates: time 0.07801/0.8521, allocations: 42.03 MB / 0.5143 GB, free: 6.523 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