Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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/Buildings 8.0.0/package.mo): time 2.693/2.693, allocations: 284.8 MB / 292.1 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001638/0.001638, allocations: 177.3 kB / 360.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.1 MB / 0.6187 GB, free: 5.156 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 83.45 kB / 0.7317 GB, free: 53.46 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.2673/0.2686, allocations: 121.4 MB / 0.8502 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.5829, allocations: 115.2 MB / 0.9628 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.211/5.794, allocations: 2.06 GB / 3.023 GB, free: 64.84 MB / 0.9356 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/5.794, allocations: 83.72 kB / 3.023 GB, free: 64.8 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 1.26/7.055, allocations: 243.2 MB / 3.261 GB, free: 200.1 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/7.055, allocations: 12.5 kB / 3.261 GB, free: 200.1 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/7.057, allocations: 168.3 kB / 3.261 GB, free: 199.9 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007737/7.057, allocations: 347.1 kB / 3.261 GB, free: 199.6 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/7.057, allocations: 8 kB / 3.261 GB, free: 199.6 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.644e-05/7.058, allocations: 15.91 kB / 3.261 GB, free: 199.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005872/7.058, allocations: 204.8 kB / 3.261 GB, free: 199.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005634/7.059, allocations: 249.8 kB / 3.262 GB, free: 199.1 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/7.059, allocations: 3.938 kB / 3.262 GB, free: 199.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/7.059, allocations: 0 / 3.262 GB, free: 199.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/7.059, allocations: 4 kB / 3.262 GB, free: 199.1 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/7.061, allocations: 1.104 MB / 3.263 GB, free: 197.9 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/7.061, allocations: 212.5 kB / 3.263 GB, free: 197.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/7.062, allocations: 104.8 kB / 3.263 GB, free: 197.6 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008507/7.063, allocations: 471.3 kB / 3.263 GB, free: 197 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/7.063, allocations: 42.5 kB / 3.263 GB, free: 197 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 3.056e-06/7.063, allocations: 0 / 3.263 GB, free: 197 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.00145/7.064, allocations: 259.4 kB / 3.264 GB, free: 196.7 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/7.064, allocations: 55.41 kB / 3.264 GB, free: 196.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/7.064, allocations: 193.1 kB / 3.264 GB, free: 196.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/7.064, allocations: 25.7 kB / 3.264 GB, free: 196.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/7.065, allocations: 144.2 kB / 3.264 GB, free: 196.3 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/7.065, allocations: 66.95 kB / 3.264 GB, free: 196.2 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/7.065, allocations: 0 / 3.264 GB, free: 196.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 7.52e-05/7.065, allocations: 338.8 kB / 3.265 GB, free: 195.9 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/7.065, allocations: 44.36 kB / 3.265 GB, free: 195.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/7.065, allocations: 105.3 kB / 3.265 GB, free: 195.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/7.065, allocations: 103.8 kB / 3.265 GB, free: 195.6 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/7.065, allocations: 0 / 3.265 GB, free: 195.6 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006502/7.066, allocations: 217.2 kB / 3.265 GB, free: 195.4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/7.066, allocations: 4 kB / 3.265 GB, free: 195.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/7.066, allocations: 7.938 kB / 3.265 GB, free: 195.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/7.066, allocations: 0 / 3.265 GB, free: 195.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/7.067, allocations: 52.06 kB / 3.265 GB, free: 195.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/7.067, allocations: 4 kB / 3.265 GB, free: 195.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/7.067, allocations: 23.83 kB / 3.265 GB, free: 195.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/7.067, allocations: 11.91 kB / 3.265 GB, free: 195.3 MB / 0.9356 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 (22): * Single equations (assignments): 22 * 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.951e-05/7.067, allocations: 116.9 kB / 3.265 GB, free: 195.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.149e-05/7.067, allocations: 23.72 kB / 3.265 GB, free: 195.1 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007366/7.068, allocations: 227.5 kB / 3.265 GB, free: 194.9 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/7.068, allocations: 4 kB / 3.265 GB, free: 194.9 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/7.068, allocations: 0 / 3.265 GB, free: 194.9 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/7.068, allocations: 7.922 kB / 3.265 GB, free: 194.9 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/7.07, allocations: 0.6947 MB / 3.266 GB, free: 194.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/7.07, allocations: 4.344 kB / 3.266 GB, free: 194.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/7.07, allocations: 43.98 kB / 3.266 GB, free: 194.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/7.07, allocations: 8 kB / 3.266 GB, free: 194.1 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/7.07, allocations: 8.062 kB / 3.266 GB, free: 194.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/7.07, allocations: 11.92 kB / 3.266 GB, free: 194.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/7.07, allocations: 0 / 3.266 GB, free: 194.1 MB / 0.9356 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008799/7.071, allocations: 0.5723 MB / 3.267 GB, free: 193.4 MB / 0.9356 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001262/7.072, allocations: 1.072 MB / 3.268 GB, free: 192.2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/7.072, allocations: 120.8 kB / 3.268 GB, free: 192.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/7.072, allocations: 4.094 kB / 3.268 GB, free: 192 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/7.073, allocations: 15.98 kB / 3.268 GB, free: 192 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/7.073, allocations: 27.88 kB / 3.268 GB, free: 192 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/7.073, allocations: 11.98 kB / 3.268 GB, free: 192 MB / 0.9356 GB Notification: Performance of sort global known variables: time 0.000167/7.073, allocations: 153.2 kB / 3.268 GB, free: 191.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00183/7.075, allocations: 263.8 kB / 3.268 GB, free: 191.6 MB / 0.9356 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 (19): * Single equations (assignments): 19 * 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.001873/7.077, allocations: 1.191 MB / 3.27 GB, free: 190.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004398/7.077, allocations: 135.8 kB / 3.27 GB, free: 190.4 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/7.077, allocations: 0 / 3.27 GB, free: 190.4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/7.078, allocations: 75.86 kB / 3.27 GB, free: 190.3 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/7.079, allocations: 127.1 kB / 3.27 GB, free: 190.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/7.08, allocations: 449.7 kB / 3.27 GB, free: 189.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000405/7.08, allocations: 0.8098 MB / 3.271 GB, free: 188.9 MB / 0.9356 GB Notification: Performance of SimCode: time 9.81e-07/7.08, allocations: 0 / 3.271 GB, free: 188.9 MB / 0.9356 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)