Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.172/2.172, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001546/0.001546, allocations: 179.5 kB / 360.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001242/0.001242, allocations: 87.72 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2456/0.2469, allocations: 121.4 MB / 0.8502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5488/0.7957, allocations: 115.2 MB / 0.9628 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/0.9998, allocations: 136.6 MB / 1.096 GB, free: 4.266 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/1, allocations: 68.52 kB / 1.096 GB, free: 4.199 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.006342/1.006, allocations: 1.461 MB / 1.098 GB, free: 2.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.006, allocations: 8.5 kB / 1.098 GB, free: 2.742 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/1.007, allocations: 14.41 kB / 1.098 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/1.007, allocations: 170.9 kB / 1.098 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/1.007, allocations: 0 / 1.098 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/1.007, allocations: 4 kB / 1.098 GB, free: 2.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001122/1.007, allocations: 16 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/1.007, allocations: 42.2 kB / 1.098 GB, free: 2.457 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/1.007, allocations: 0.75 kB / 1.098 GB, free: 2.457 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/1.007, allocations: 4 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.007, allocations: 1.906 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006765/1.008, allocations: 288.4 kB / 1.098 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.031e-05/1.008, allocations: 31.14 kB / 1.098 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/1.008, allocations: 12.86 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/1.008, allocations: 4 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/1.008, allocations: 34.56 kB / 1.098 GB, free: 2.035 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.274e-06/1.008, allocations: 0.7969 kB / 1.098 GB, free: 2.035 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002164/1.008, allocations: 53.62 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/1.008, allocations: 55.41 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/1.008, allocations: 99.42 kB / 1.098 GB, free: 1.809 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/1.008, allocations: 25.7 kB / 1.098 GB, free: 1.777 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/1.008, allocations: 84.12 kB / 1.099 GB, free: 1.691 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/1.009, allocations: 19.75 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/1.009, allocations: 0 / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.009, allocations: 314.8 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/1.009, allocations: 8 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/1.009, allocations: 8 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/1.009, allocations: 12.64 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.009, allocations: 0 / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00014/1.009, allocations: 51.3 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.009, allocations: 4 kB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/1.009, allocations: 4 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/1.009, allocations: 4 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/1.009, allocations: 27.91 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.009, allocations: 0 / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/1.01, allocations: 22.58 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/1.01, allocations: 4.703 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.142e-05/1.01, allocations: 104.8 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/1.01, allocations: 9.406 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/1.01, allocations: 11.98 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.01, allocations: 4 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/1.01, allocations: 0 / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.01, allocations: 0 / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/1.01, allocations: 154.1 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.01, allocations: 0.5156 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/1.01, allocations: 19.98 kB / 1.099 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.01, allocations: 4 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/1.01, allocations: 0.6562 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.01, allocations: 0 / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.01, allocations: 0 / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001743/1.01, allocations: 153.8 kB / 1.099 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003498/1.011, allocations: 0.5199 MB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/1.011, allocations: 89 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/1.011, allocations: 0 / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/1.011, allocations: 16.64 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/1.011, allocations: 11.98 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/1.011, allocations: 0 / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of sort global known variables: time 0.0001169/1.011, allocations: 83.28 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001087/1.012, allocations: 8 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001402/1.013, allocations: 95.25 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000125/1.013, allocations: 24.5 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.013, allocations: 3.75 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.677e-05/1.013, allocations: 19.98 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/1.013, allocations: 9.703 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/1.013, allocations: 72.58 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/1.014, allocations: 0.6954 MB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/1.014, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)