Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_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.003096/0.003097, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6968/0.6968, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.674/1.674, 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.001162/0.001162, allocations: 93.86 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4268/0.428, allocations: 88.43 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.6058, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.379/4.985, allocations: 1.869 GB / 2.502 GB, free: 93.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/4.985, allocations: 79.95 kB / 2.502 GB, free: 93.9 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.9699/5.955, allocations: 247 MB / 2.743 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/5.955, allocations: 12 kB / 2.743 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/5.957, allocations: 163.4 kB / 2.743 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/5.957, allocations: 350.1 kB / 2.744 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/5.957, allocations: 8 kB / 2.744 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/5.957, allocations: 12 kB / 2.744 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003566/5.958, allocations: 204.9 kB / 2.744 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/5.958, allocations: 262.5 kB / 2.744 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/5.958, allocations: 7.938 kB / 2.744 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/5.958, allocations: 0 / 2.744 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/5.958, allocations: 7.984 kB / 2.744 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/5.959, allocations: 1.103 MB / 2.745 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/5.96, allocations: 227.1 kB / 2.746 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/5.96, allocations: 109.2 kB / 2.746 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005753/5.961, allocations: 473.7 kB / 2.746 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/5.961, allocations: 38.69 kB / 2.746 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/5.961, allocations: 0 / 2.746 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21): time 0.0009114/5.962, allocations: 271.7 kB / 2.746 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/5.962, allocations: 59.34 kB / 2.746 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/5.962, allocations: 193.1 kB / 2.747 GB, free: 119 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/5.962, allocations: 33.7 kB / 2.747 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/5.962, allocations: 144.3 kB / 2.747 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/5.962, allocations: 70.94 kB / 2.747 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/5.962, allocations: 0 / 2.747 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.508e-05/5.962, allocations: 338.8 kB / 2.747 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/5.962, allocations: 48.8 kB / 2.747 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/5.962, allocations: 114.7 kB / 2.747 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/5.962, allocations: 103.8 kB / 2.747 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/5.962, allocations: 0 / 2.747 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003858/5.963, allocations: 241 kB / 2.748 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/5.963, allocations: 4 kB / 2.748 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/5.963, allocations: 8.094 kB / 2.748 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/5.963, allocations: 64 / 2.748 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/5.963, allocations: 59.91 kB / 2.748 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/5.963, allocations: 0 / 2.748 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/5.963, allocations: 27.89 kB / 2.748 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/5.963, allocations: 11.98 kB / 2.748 GB, free: 117.7 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.61e-05/5.963, allocations: 109.7 kB / 2.748 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/5.963, allocations: 31.56 kB / 2.748 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/5.964, allocations: 223.6 kB / 2.748 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/5.964, allocations: 4 kB / 2.748 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/5.964, allocations: 0 / 2.748 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/5.964, allocations: 4 kB / 2.748 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009092/5.965, allocations: 0.7144 MB / 2.749 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/5.965, allocations: 4 kB / 2.749 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/5.965, allocations: 51.91 kB / 2.749 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/5.965, allocations: 4 kB / 2.749 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/5.965, allocations: 4.344 kB / 2.749 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/5.965, allocations: 8 kB / 2.749 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/5.965, allocations: 3.938 kB / 2.749 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005856/5.966, allocations: 0.5977 MB / 2.749 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009081/5.967, allocations: 1.094 MB / 2.751 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/5.967, allocations: 120.8 kB / 2.751 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/5.967, allocations: 7.906 kB / 2.751 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/5.967, allocations: 23.98 kB / 2.751 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/5.967, allocations: 19.97 kB / 2.751 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/5.967, allocations: 8 kB / 2.751 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001138/5.967, allocations: 157.2 kB / 2.751 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001333/5.969, allocations: 271.7 kB / 2.751 GB, free: 113.9 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.001468/5.97, allocations: 1.198 MB / 2.752 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002612/5.97, allocations: 139.8 kB / 2.752 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/5.97, allocations: 0 / 2.752 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/5.97, allocations: 88.05 kB / 2.752 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/5.971, allocations: 113.1 kB / 2.753 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/5.972, allocations: 456.1 kB / 2.753 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/5.972, allocations: 0.8265 MB / 2.754 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.81e-07/5.972, allocations: 0 / 2.754 GB, free: 111.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)