Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 87.36 kB / 17.58 MB, free: 5.801 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.001071/0.001071, allocations: 184.8 kB / 18.48 MB, free: 5.25 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.716/1.716, allocations: 205.4 MB / 224.6 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.0004514/0.0004514, allocations: 8 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1253, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03781/0.1632, allocations: 34.77 MB / 363.7 MB, free: 1.207 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2779/0.4411, allocations: 28.11 MB / 391.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000679/0.4418, allocations: 5.938 kB / 391.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.443, allocations: 316.4 kB / 392.2 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.4442, allocations: 492 kB / 392.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01497/0.4592, allocations: 3.839 MB / 396.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.4619, allocations: 1.699 MB / 398.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.4621, allocations: 118.9 kB / 398.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000935/0.4631, allocations: 474.5 kB / 398.8 MB, free: 11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.4636, allocations: 424.5 kB / 399.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.4637, allocations: 28.25 kB / 399.2 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06957/0.5333, allocations: 51.74 MB / 451 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004776/0.5338, allocations: 116.2 kB / 451.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005078/0.5343, allocations: 142.5 kB / 451.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03418/0.5685, allocations: 13.88 MB / 465.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.5686, allocations: 0 / 465.1 MB, free: 4.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5686, allocations: 3.938 kB / 465.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.5686, allocations: 0 / 465.1 MB, free: 4.789 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.009347/0.5779, allocations: 1.317 MB / 466.4 MB, free: 3.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.578, allocations: 12.03 kB / 466.4 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007035/0.5787, allocations: 92.5 kB / 466.5 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.5792, allocations: 383.5 kB / 466.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.5793, allocations: 32.81 kB / 466.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.89e-05/0.5793, allocations: 49.88 kB / 467 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.5805, allocations: 0.6225 MB / 467.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.5805, allocations: 8.969 kB / 467.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.5806, allocations: 22.31 kB / 467.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.5806, allocations: 12 kB / 467.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009168/0.5815, allocations: 0.517 MB / 468.1 MB, free: 2.133 MB / 366.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.004208/0.5858, allocations: 3.805 MB / 472 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/0.5866, allocations: 412.3 kB / 472.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.5869, allocations: 205.1 kB / 472.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003464/0.5904, allocations: 3.549 MB / 476.1 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.5904, allocations: 38.38 kB / 476.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.043e-06/0.5904, allocations: 0 / 476.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.008482/0.5989, allocations: 2.042 MB / 478.2 MB, free: 8.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.599, allocations: 59.78 kB / 478.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.5993, allocations: 308.2 kB / 478.5 MB, free: 7.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.5994, allocations: 36.81 kB / 478.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.5995, allocations: 242.6 kB / 478.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.5997, allocations: 184 kB / 479 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.5997, allocations: 10 kB / 479 MB, free: 7.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5999, allocations: 346.9 kB / 479.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.6002, allocations: 181.2 kB / 479.5 MB, free: 7.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.6006, allocations: 331.2 kB / 479.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.601, allocations: 227 kB / 480.1 MB, free: 6.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-06/0.601, allocations: 4 kB / 480.1 MB, free: 6.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00116/0.6022, allocations: 0.6702 MB / 480.7 MB, free: 6.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.6022, allocations: 8 kB / 480.7 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.6022, allocations: 4 kB / 480.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007442/0.6097, allocations: 459.3 kB / 481.2 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/0.6103, allocations: 141.8 kB / 481.3 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.6123, allocations: 2.992 MB / 484.3 MB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.6128, allocations: 53.66 kB / 484.4 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/0.6129, allocations: 24.5 kB / 484.4 MB, free: 2.527 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003019/0.6132, allocations: 197.3 kB / 484.6 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.6133, allocations: 39.53 kB / 484.6 MB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.6148, allocations: 1.057 MB / 485.7 MB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.6148, allocations: 4 kB / 485.7 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.6148, allocations: 0 / 485.7 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001155/0.616, allocations: 1.102 MB / 486.8 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.6182, allocations: 1.72 MB / 488.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.6182, allocations: 0 / 488.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.6186, allocations: 109.2 kB / 488.6 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.6212, allocations: 355.1 kB / 489 MB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.6213, allocations: 21.89 kB / 489 MB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009639/0.6223, allocations: 1.144 MB / 490.1 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6223, allocations: 0 / 490.1 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.6238, allocations: 1.125 MB / 491.3 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.624, allocations: 143.3 kB / 491.4 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.624, allocations: 13.75 kB / 491.4 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.6243, allocations: 30.45 kB / 491.4 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.6244, allocations: 39.56 kB / 491.5 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/0.6245, allocations: 17.69 kB / 491.5 MB, free: 12.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002867/0.6248, allocations: 245 kB / 491.7 MB, free: 12.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6248, allocations: 3.938 kB / 491.7 MB, free: 12.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00736/0.6321, allocations: 0.9682 MB / 492.7 MB, free: 11.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.04507/0.6772, allocations: 7.851 MB / 0.4888 GB, free: 4.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.6789, allocations: 0.6919 MB / 0.4895 GB, free: 3.426 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6789, allocations: 4 kB / 0.4895 GB, free: 3.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006652/0.6796, allocations: 371.4 kB / 0.4899 GB, free: 3.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.681, allocations: 261.1 kB / 0.4901 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.6836, allocations: 1.645 MB / 0.4917 GB, free: 1.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.6841, allocations: 0.8706 MB / 0.4926 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.6842, allocations: 55.42 kB / 0.4926 GB, free: 196 kB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6842, allocations: 0 / 0.4926 GB, free: 196 kB / 398.1 MB Notification: Performance of Templates: time 0.06017/0.7444, allocations: 38.54 MB / 0.5303 GB, free: 9.73 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.R134a.R134a2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.R134a.R134a2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.R134a.R134a2CalcHelperMain.o] Error 1