Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004131/0.004131, allocations: 185.3 kB / 7.463 MB, free: 2.227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7188/0.7188, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009754/0.0009754, allocations: 102.5 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.469/0.4701, allocations: 88.42 MB / 0.5529 GB, free: 88.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.6494, allocations: 82.31 MB / 0.6333 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.323/4.973, allocations: 1.832 GB / 2.466 GB, free: 94.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/4.973, allocations: 90.14 kB / 2.466 GB, free: 94.38 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 1.01/5.984, allocations: 346.7 MB / 2.804 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/5.984, allocations: 8 kB / 2.804 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/5.984, allocations: 63.48 kB / 2.804 GB, free: 27.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/5.985, allocations: 326.2 kB / 2.805 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/5.985, allocations: 8 kB / 2.805 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/5.985, allocations: 16 kB / 2.805 GB, free: 27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002134/5.985, allocations: 120.8 kB / 2.805 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/5.985, allocations: 252.7 kB / 2.805 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/5.985, allocations: 0 / 2.805 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/5.985, allocations: 3.906 kB / 2.805 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/5.985, allocations: 8 kB / 2.805 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/5.987, allocations: 1.678 MB / 2.807 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/5.987, allocations: 82.47 kB / 2.807 GB, free: 24.72 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/5.987, allocations: 60.88 kB / 2.807 GB, free: 24.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/5.987, allocations: 186.2 kB / 2.807 GB, free: 24.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/5.987, allocations: 30.56 kB / 2.807 GB, free: 24.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/5.987, allocations: 4 kB / 2.807 GB, free: 24.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0004461/5.988, allocations: 149.3 kB / 2.807 GB, free: 24.24 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.666e-05/5.988, allocations: 51.41 kB / 2.807 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/5.988, allocations: 223.3 kB / 2.807 GB, free: 23.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/5.988, allocations: 25.7 kB / 2.807 GB, free: 23.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/5.988, allocations: 171.8 kB / 2.808 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/5.988, allocations: 43.39 kB / 2.808 GB, free: 23.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/5.988, allocations: 4 kB / 2.808 GB, free: 23.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.903e-05/5.988, allocations: 342.7 kB / 2.808 GB, free: 23.36 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/5.988, allocations: 39.98 kB / 2.808 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/5.988, allocations: 183.4 kB / 2.808 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/5.988, allocations: 72.11 kB / 2.808 GB, free: 23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/5.988, allocations: 0 / 2.808 GB, free: 23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002653/5.989, allocations: 209 kB / 2.809 GB, free: 22.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002625/5.989, allocations: 1.387 MB / 2.81 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/5.989, allocations: 7.984 kB / 2.81 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/5.989, allocations: 11.91 kB / 2.81 GB, free: 21.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/5.989, allocations: 51.91 kB / 2.81 GB, free: 21.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/5.989, allocations: 8 kB / 2.81 GB, free: 21.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/5.989, allocations: 31.81 kB / 2.81 GB, free: 21.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/5.989, allocations: 20 kB / 2.81 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/5.989, allocations: 8.625 kB / 2.81 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001881/5.99, allocations: 139.6 kB / 2.81 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/5.99, allocations: 4 kB / 2.81 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/5.99, allocations: 8 kB / 2.81 GB, free: 21.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/5.99, allocations: 52.31 kB / 2.81 GB, free: 20.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/5.99, allocations: 11.91 kB / 2.81 GB, free: 20.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/5.99, allocations: 27.83 kB / 2.81 GB, free: 20.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/5.99, allocations: 16 kB / 2.81 GB, free: 20.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.772e-05/5.99, allocations: 116.9 kB / 2.81 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/5.99, allocations: 23.72 kB / 2.81 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/5.99, allocations: 127.4 kB / 2.811 GB, free: 20.63 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/5.991, allocations: 4.031 kB / 2.811 GB, free: 20.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/5.991, allocations: 7.844 kB / 2.811 GB, free: 20.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/5.991, allocations: 3.984 kB / 2.811 GB, free: 20.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006227/5.991, allocations: 0.5438 MB / 2.811 GB, free: 20 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/5.991, allocations: 0 / 2.811 GB, free: 20 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/5.991, allocations: 32.2 kB / 2.811 GB, free: 19.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/5.991, allocations: 4.047 kB / 2.811 GB, free: 19.97 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/5.991, allocations: 3.984 kB / 2.811 GB, free: 19.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/5.991, allocations: 7.984 kB / 2.811 GB, free: 19.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/5.991, allocations: 3.938 kB / 2.811 GB, free: 19.95 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002151/5.992, allocations: 349.1 kB / 2.811 GB, free: 19.53 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004968/5.992, allocations: 0.7787 MB / 2.812 GB, free: 18.67 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/5.992, allocations: 112.8 kB / 2.812 GB, free: 18.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/5.992, allocations: 4 kB / 2.812 GB, free: 18.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/5.992, allocations: 15.98 kB / 2.812 GB, free: 18.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/5.992, allocations: 15.89 kB / 2.812 GB, free: 18.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/5.992, allocations: 4 kB / 2.812 GB, free: 18.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001258/5.993, allocations: 179.1 kB / 2.813 GB, free: 18.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002419/5.995, allocations: 0.5034 MB / 2.813 GB, free: 17.82 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001839/5.997, allocations: 1.426 MB / 2.814 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003752/5.997, allocations: 198.4 kB / 2.815 GB, free: 16.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/5.997, allocations: 4.188 kB / 2.815 GB, free: 16.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/5.997, allocations: 47.92 kB / 2.815 GB, free: 16.11 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/5.998, allocations: 110.5 kB / 2.815 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006285/5.999, allocations: 357.4 kB / 2.815 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/5.999, allocations: 0.8108 MB / 2.816 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/5.999, allocations: 4 kB / 2.816 GB, free: 14.77 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)