Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.558/2.558, allocations: 284.8 MB / 292.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001691/0.001691, allocations: 177.3 kB / 360.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.1 MB / 0.6187 GB, free: 13.25 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001246/0.001245, allocations: 97.31 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.293/0.2943, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.9617, allocations: 115.2 MB / 0.9627 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.236/6.198, allocations: 2.06 GB / 3.023 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/6.198, allocations: 82.42 kB / 3.023 GB, free: 273.6 MB / 0.9323 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.8094/7.007, allocations: 243.3 MB / 3.261 GB, free: 94.76 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/7.008, allocations: 8.5 kB / 3.261 GB, free: 94.75 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/7.009, allocations: 175.3 kB / 3.261 GB, free: 94.58 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/7.01, allocations: 342.3 kB / 3.261 GB, free: 94.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/7.01, allocations: 12 kB / 3.261 GB, free: 94.19 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/7.01, allocations: 16 kB / 3.261 GB, free: 94.18 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006174/7.011, allocations: 208.9 kB / 3.262 GB, free: 93.97 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/7.012, allocations: 270.3 kB / 3.262 GB, free: 93.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/7.012, allocations: 0 / 3.262 GB, free: 93.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/7.012, allocations: 3.938 kB / 3.262 GB, free: 93.69 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/7.012, allocations: 8 kB / 3.262 GB, free: 93.68 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/7.014, allocations: 1.107 MB / 3.263 GB, free: 92.49 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005791/7.014, allocations: 224.4 kB / 3.263 GB, free: 92.27 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/7.015, allocations: 113.2 kB / 3.263 GB, free: 92.15 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008464/7.016, allocations: 469.7 kB / 3.264 GB, free: 91.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/7.016, allocations: 34.75 kB / 3.264 GB, free: 91.56 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=21): time 2.445e-06/7.016, allocations: 0 / 3.264 GB, free: 91.56 MB / 0.9323 GB Notification: Performance of matching and sorting (n=21): time 0.001454/7.017, allocations: 268.2 kB / 3.264 GB, free: 91.29 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/7.017, allocations: 59.34 kB / 3.264 GB, free: 91.22 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/7.017, allocations: 201 kB / 3.264 GB, free: 91.02 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/7.017, allocations: 25.7 kB / 3.264 GB, free: 90.98 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/7.017, allocations: 144.3 kB / 3.264 GB, free: 90.84 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/7.018, allocations: 74.91 kB / 3.265 GB, free: 90.77 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/7.018, allocations: 0 / 3.265 GB, free: 90.77 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/7.018, allocations: 334.8 kB / 3.265 GB, free: 90.43 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/7.018, allocations: 44.81 kB / 3.265 GB, free: 90.39 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/7.018, allocations: 118.7 kB / 3.265 GB, free: 90.25 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/7.018, allocations: 102.8 kB / 3.265 GB, free: 90.15 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/7.018, allocations: 0 / 3.265 GB, free: 90.15 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006797/7.019, allocations: 237.2 kB / 3.265 GB, free: 89.91 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/7.019, allocations: 5.25 kB / 3.265 GB, free: 89.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/7.019, allocations: 0 / 3.265 GB, free: 89.91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/7.019, allocations: 4 kB / 3.265 GB, free: 89.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/7.02, allocations: 47.91 kB / 3.265 GB, free: 89.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/7.02, allocations: 11.84 kB / 3.265 GB, free: 89.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/7.02, allocations: 31.92 kB / 3.265 GB, free: 89.81 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/7.02, allocations: 12 kB / 3.265 GB, free: 89.8 MB / 0.9323 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.497e-05/7.02, allocations: 104.9 kB / 3.266 GB, free: 89.69 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/7.02, allocations: 27.7 kB / 3.266 GB, free: 89.66 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007361/7.021, allocations: 239.6 kB / 3.266 GB, free: 89.43 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/7.021, allocations: 0 / 3.266 GB, free: 89.43 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/7.021, allocations: 0 / 3.266 GB, free: 89.43 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/7.021, allocations: 4 kB / 3.266 GB, free: 89.42 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/7.023, allocations: 0.7144 MB / 3.267 GB, free: 88.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/7.023, allocations: 4 kB / 3.267 GB, free: 88.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/7.023, allocations: 56.25 kB / 3.267 GB, free: 88.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/7.023, allocations: 4 kB / 3.267 GB, free: 88.57 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/7.023, allocations: 4 kB / 3.267 GB, free: 88.56 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/7.023, allocations: 4 kB / 3.267 GB, free: 88.56 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/7.023, allocations: 7.906 kB / 3.267 GB, free: 88.55 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009398/7.024, allocations: 0.5993 MB / 3.267 GB, free: 87.84 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00133/7.025, allocations: 1.088 MB / 3.268 GB, free: 86.63 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/7.026, allocations: 120.7 kB / 3.268 GB, free: 86.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/7.026, allocations: 4 kB / 3.268 GB, free: 86.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/7.026, allocations: 20.05 kB / 3.268 GB, free: 86.47 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/7.026, allocations: 19.92 kB / 3.268 GB, free: 86.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/7.026, allocations: 15.98 kB / 3.268 GB, free: 86.43 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0001807/7.026, allocations: 161.2 kB / 3.269 GB, free: 86.28 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001962/7.028, allocations: 271.8 kB / 3.269 GB, free: 86.01 MB / 0.9323 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.001782/7.03, allocations: 1.177 MB / 3.27 GB, free: 84.83 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004884/7.031, allocations: 145.8 kB / 3.27 GB, free: 84.69 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/7.031, allocations: 0 / 3.27 GB, free: 84.69 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/7.031, allocations: 83.84 kB / 3.27 GB, free: 84.61 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/7.032, allocations: 135.5 kB / 3.27 GB, free: 84.48 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/7.033, allocations: 444.2 kB / 3.271 GB, free: 83.99 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/7.034, allocations: 0.8263 MB / 3.272 GB, free: 83.14 MB / 0.9323 GB Notification: Performance of SimCode: time 1.352e-06/7.034, allocations: 0 / 3.272 GB, free: 83.14 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)