Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.003111/0.003111, allocations: 180.4 kB / 7.458 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.6779/0.6779, allocations: 133.5 MB / 141.4 MB, free: 15.63 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.467/1.467, allocations: 221.3 MB / 395 MB, free: 10.18 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.001122/0.001122, allocations: 111.9 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4624/0.4636, allocations: 88.42 MB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.6511, allocations: 82.31 MB / 0.6333 GB, free: 13.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7661/1.417, allocations: 337.9 MB / 0.9633 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000413/1.418, allocations: 81.06 kB / 0.9634 GB, free: 8.609 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.4957/1.914, allocations: 74.03 MB / 1.036 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/1.914, allocations: 8 kB / 1.036 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/1.914, allocations: 23.72 kB / 1.036 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/1.914, allocations: 242.7 kB / 1.036 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/1.914, allocations: 4 kB / 1.036 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/1.914, allocations: 11.98 kB / 1.036 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001302/1.914, allocations: 52 kB / 1.036 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/1.914, allocations: 108.4 kB / 1.036 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/1.914, allocations: 4 kB / 1.036 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/1.914, allocations: 3.984 kB / 1.036 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/1.914, allocations: 4 kB / 1.036 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/1.915, allocations: 498.2 kB / 1.037 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.274e-05/1.915, allocations: 73.14 kB / 1.037 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/1.915, allocations: 41.83 kB / 1.037 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/1.915, allocations: 336.4 kB / 1.037 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/1.915, allocations: 38.56 kB / 1.037 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/1.915, allocations: 0 / 1.037 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003037/1.916, allocations: 97.42 kB / 1.037 GB, free: 222 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/1.916, allocations: 77.11 kB / 1.037 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/1.916, allocations: 137.5 kB / 1.037 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/1.916, allocations: 29.64 kB / 1.037 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/1.916, allocations: 116 kB / 1.037 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/1.916, allocations: 27.69 kB / 1.037 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/1.916, allocations: 3.938 kB / 1.038 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.471e-05/1.916, allocations: 322.8 kB / 1.038 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.097e-05/1.916, allocations: 12 kB / 1.038 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.682e-05/1.916, allocations: 70.69 kB / 1.038 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/1.916, allocations: 31.92 kB / 1.038 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.916, allocations: 0 / 1.038 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000187/1.916, allocations: 97.47 kB / 1.038 GB, free: 221 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/1.916, allocations: 8 kB / 1.038 GB, free: 221 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.916, allocations: 0 / 1.038 GB, free: 221 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.916, allocations: 3.984 kB / 1.038 GB, free: 221 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/1.916, allocations: 36.11 kB / 1.038 GB, free: 221 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.916, allocations: 0 / 1.038 GB, free: 221 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/1.917, allocations: 19.98 kB / 1.038 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/1.917, allocations: 4 kB / 1.038 GB, free: 220.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.303e-05/1.917, allocations: 104.9 kB / 1.038 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/1.917, allocations: 15.91 kB / 1.038 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/1.917, allocations: 138.7 kB / 1.038 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.917, allocations: 0 / 1.038 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.917, allocations: 48 / 1.038 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.917, allocations: 3.984 kB / 1.038 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/1.918, allocations: 422.9 kB / 1.039 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.918, allocations: 4.094 kB / 1.039 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/1.918, allocations: 35.81 kB / 1.039 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/1.918, allocations: 3.938 kB / 1.039 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/1.918, allocations: 4 kB / 1.039 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.918, allocations: 0 / 1.039 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.918, allocations: 0 / 1.039 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002515/1.918, allocations: 367.8 kB / 1.039 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003451/1.918, allocations: 0.7301 MB / 1.04 GB, free: 219 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/1.918, allocations: 100.8 kB / 1.04 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/1.918, allocations: 0 / 1.04 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/1.919, allocations: 19.98 kB / 1.04 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/1.919, allocations: 15.84 kB / 1.04 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/1.919, allocations: 7.984 kB / 1.04 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.174e-05/1.919, allocations: 112.3 kB / 1.04 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001005/1.92, allocations: 75.84 kB / 1.04 GB, free: 218.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004353/1.92, allocations: 224.8 kB / 1.04 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001412/1.92, allocations: 64.11 kB / 1.04 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.92, allocations: 7.938 kB / 1.04 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/1.92, allocations: 51.86 kB / 1.04 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/1.921, allocations: 52.08 kB / 1.041 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/1.921, allocations: 219.7 kB / 1.041 GB, free: 218 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/1.921, allocations: 0.7508 MB / 1.041 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.81e-07/1.921, allocations: 0 / 1.041 GB, free: 217.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)