Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.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.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",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.003464/0.003464, allocations: 177.2 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6872/0.6872, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.506/1.506, allocations: 221.3 MB / 395 MB, free: 10.2 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.001073/0.001073, allocations: 110.5 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4228/0.4239, allocations: 88.41 MB / 0.5529 GB, free: 89.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.6246, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.258/4.882, allocations: 1.869 GB / 2.502 GB, free: 75.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/4.883, allocations: 83.95 kB / 2.502 GB, free: 75.5 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.9095/5.792, allocations: 247 MB / 2.743 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/5.792, allocations: 8 kB / 2.743 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/5.794, allocations: 167.4 kB / 2.743 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/5.794, allocations: 354.1 kB / 2.744 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/5.794, allocations: 8 kB / 2.744 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/5.794, allocations: 16 kB / 2.744 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003632/5.795, allocations: 204.9 kB / 2.744 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/5.795, allocations: 278.4 kB / 2.744 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/5.795, allocations: 0 / 2.744 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/5.795, allocations: 3.938 kB / 2.744 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/5.795, allocations: 8 kB / 2.744 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/5.797, allocations: 1.1 MB / 2.745 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/5.797, allocations: 227.1 kB / 2.746 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/5.797, allocations: 113.2 kB / 2.746 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007106/5.798, allocations: 473.7 kB / 2.746 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/5.798, allocations: 34.75 kB / 2.746 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/5.798, allocations: 0 / 2.746 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21): time 0.001032/5.799, allocations: 267.6 kB / 2.746 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/5.799, allocations: 63.33 kB / 2.746 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/5.799, allocations: 201.1 kB / 2.747 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/5.799, allocations: 25.7 kB / 2.747 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/5.8, allocations: 144.3 kB / 2.747 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/5.8, allocations: 70.95 kB / 2.747 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/5.8, allocations: 0 / 2.747 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001043/5.8, allocations: 334.8 kB / 2.747 GB, free: 100 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/5.8, allocations: 48.8 kB / 2.747 GB, free: 99.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/5.8, allocations: 123.7 kB / 2.747 GB, free: 99.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/5.8, allocations: 99.83 kB / 2.747 GB, free: 99.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/5.8, allocations: 0 / 2.747 GB, free: 99.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003978/5.801, allocations: 241.1 kB / 2.748 GB, free: 99.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/5.801, allocations: 6.656 kB / 2.748 GB, free: 99.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/5.801, allocations: 0 / 2.748 GB, free: 99.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/5.801, allocations: 4 kB / 2.748 GB, free: 99.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/5.801, allocations: 43.92 kB / 2.748 GB, free: 99.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/5.801, allocations: 4 kB / 2.748 GB, free: 99.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/5.801, allocations: 35.84 kB / 2.748 GB, free: 99.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/5.801, allocations: 12 kB / 2.748 GB, free: 99.36 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 8.571e-05/5.801, allocations: 108.9 kB / 2.748 GB, free: 99.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/5.801, allocations: 27.62 kB / 2.748 GB, free: 99.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/5.802, allocations: 227.6 kB / 2.748 GB, free: 98.99 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/5.802, allocations: 4 kB / 2.748 GB, free: 98.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/5.802, allocations: 3.984 kB / 2.748 GB, free: 98.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/5.802, allocations: 4 kB / 2.748 GB, free: 98.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/5.803, allocations: 0.7182 MB / 2.749 GB, free: 98.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/5.803, allocations: 4 kB / 2.749 GB, free: 98.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/5.803, allocations: 52.33 kB / 2.749 GB, free: 98.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/5.803, allocations: 8 kB / 2.749 GB, free: 98.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/5.803, allocations: 7.984 kB / 2.749 GB, free: 98.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/5.803, allocations: 4 kB / 2.749 GB, free: 98.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/5.803, allocations: 4 kB / 2.749 GB, free: 98.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006906/5.804, allocations: 0.5812 MB / 2.749 GB, free: 97.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000881/5.805, allocations: 1.103 MB / 2.751 GB, free: 96.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/5.805, allocations: 120.7 kB / 2.751 GB, free: 96.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/5.805, allocations: 7.906 kB / 2.751 GB, free: 96.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/5.805, allocations: 20.05 kB / 2.751 GB, free: 96.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/5.805, allocations: 15.92 kB / 2.751 GB, free: 96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/5.805, allocations: 12 kB / 2.751 GB, free: 95.99 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001169/5.805, allocations: 161.2 kB / 2.751 GB, free: 95.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001452/5.807, allocations: 267.7 kB / 2.751 GB, free: 95.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.001498/5.808, allocations: 1.196 MB / 2.752 GB, free: 94.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002768/5.809, allocations: 140 kB / 2.752 GB, free: 94.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/5.809, allocations: 4.062 kB / 2.752 GB, free: 94.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/5.809, allocations: 79.86 kB / 2.752 GB, free: 94.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006768/5.809, allocations: 121.3 kB / 2.753 GB, free: 94.04 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008378/5.81, allocations: 460 kB / 2.753 GB, free: 93.53 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/5.811, allocations: 0.8304 MB / 2.754 GB, free: 92.67 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/5.811, allocations: 0 / 2.754 GB, free: 92.67 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)