Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 98.39 kB / 17.96 MB, free: 5.77 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.001224/0.001224, allocations: 177.3 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, 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.0005172/0.0005173, allocations: 12.94 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1339, allocations: 47.58 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03471/0.1687, allocations: 25.73 MB / 355.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03118/0.2, allocations: 25.22 MB / 380.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006137/0.2006, allocations: 0 / 380.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009657/0.2016, allocations: 258.7 kB / 380.8 MB, free: 404 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.2026, allocations: 354.1 kB / 381.1 MB, free: 48 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2738/0.4765, allocations: 3.238 MB / 384.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003003/0.4795, allocations: 1.392 MB / 385.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.4798, allocations: 88.47 kB / 385.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008833/0.4807, allocations: 327.1 kB / 386.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005583/0.4813, allocations: 307.3 kB / 386.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.77e-05/0.4813, allocations: 16.16 kB / 386.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04523/0.5266, allocations: 27.66 MB / 414.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003635/0.527, allocations: 81.16 kB / 414.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007004/0.5277, allocations: 230.7 kB / 414.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02805/0.5558, allocations: 10.67 MB / 425.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5558, allocations: 5.031 kB / 425.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5558, allocations: 0 / 425.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.5559, allocations: 0 / 425.1 MB, free: 3.168 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.009177/0.565, allocations: 1.063 MB / 426.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.702e-05/0.5651, allocations: 8.031 kB / 426.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006975/0.5658, allocations: 71.5 kB / 426.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.5664, allocations: 329.6 kB / 426.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.5664, allocations: 23.72 kB / 426.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.5665, allocations: 27.75 kB / 426.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.5675, allocations: 468.5 kB / 427.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.5676, allocations: 9.25 kB / 427.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.5676, allocations: 14.75 kB / 427.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.5676, allocations: 8 kB / 427.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007268/0.5684, allocations: 387.2 kB / 427.5 MB, free: 1.07 MB / 334.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.003916/0.5723, allocations: 2.943 MB / 430.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/0.573, allocations: 302.6 kB / 430.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.5732, allocations: 129.6 kB / 430.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003272/0.5765, allocations: 2.536 MB / 433.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.5765, allocations: 34.56 kB / 433.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.505e-06/0.5765, allocations: 0 / 433.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005353/0.5819, allocations: 1.297 MB / 434.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.5819, allocations: 59.39 kB / 434.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.5823, allocations: 252.6 kB / 435.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.5823, allocations: 33.45 kB / 435.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.5825, allocations: 192.2 kB / 435.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.946e-05/0.5826, allocations: 117.7 kB / 435.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.5827, allocations: 40.64 kB / 435.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.5829, allocations: 341.2 kB / 435.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.5831, allocations: 113.8 kB / 435.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.5834, allocations: 237.9 kB / 436.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.5839, allocations: 374.2 kB / 436.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.584, allocations: 0 / 436.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008312/0.5848, allocations: 457.8 kB / 436.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5848, allocations: 8 kB / 436.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5848, allocations: 4 kB / 436.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004557/0.5894, allocations: 238.5 kB / 437.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.5898, allocations: 92.83 kB / 437.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.5917, allocations: 1.852 MB / 439.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.592, allocations: 23.8 kB / 439.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.592, allocations: 23.97 kB / 439.2 MB, free: 5.816 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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.0002632/0.5923, allocations: 166.2 kB / 439.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.067e-05/0.5924, allocations: 35.56 kB / 439.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.5936, allocations: 0.6887 MB / 440 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.5936, allocations: 11.8 kB / 440.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.5936, allocations: 0 / 440.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001011/0.5946, allocations: 0.8586 MB / 440.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.5964, allocations: 1.187 MB / 442.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5964, allocations: 0 / 442.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.5967, allocations: 67 kB / 442.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.5983, allocations: 181.5 kB / 442.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.5983, allocations: 10.88 kB / 442.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004211/0.5987, allocations: 0.5826 MB / 442.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5987, allocations: 6.828 kB / 442.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.5998, allocations: 0.7345 MB / 443.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5999, allocations: 127.4 kB / 443.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.5999, allocations: 15.56 kB / 443.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.6002, allocations: 15.81 kB / 443.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.6002, allocations: 23.91 kB / 443.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.6003, allocations: 11.98 kB / 443.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002523/0.6005, allocations: 226.6 kB / 444.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6005, allocations: 0 / 444.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.006456/0.607, allocations: 0.7392 MB / 444.8 MB, free: 1.172 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03817/0.6452, allocations: 6.39 MB / 451.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.6466, allocations: 489.8 kB / 451.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.6467, allocations: 4.875 kB / 451.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005471/0.6472, allocations: 211.8 kB / 451.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.6488, allocations: 187.1 kB / 452.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.651, allocations: 1.146 MB / 453.2 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.6517, allocations: 0.8051 MB / 454 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.6519, allocations: 37.81 kB / 454.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6519, allocations: 3.094 kB / 454.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of Templates: time 0.05612/0.708, allocations: 29.13 MB / 483.2 MB, free: 11.45 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.R134a.R134a1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.R134a.R134a1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.R134a.R134a1CalcHelperMain.o] Error 1