Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Sin,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin",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.119/2.119, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001728/0.001728, allocations: 189.2 kB / 360.3 MB, free: 7.492 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.647/1.647, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001192/0.001191, allocations: 92.48 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.245/0.2462, allocations: 121.4 MB / 0.8502 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.7908, allocations: 115.2 MB / 0.9628 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2236/1.014, allocations: 136.6 MB / 1.096 GB, free: 4.227 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.015, allocations: 65.7 kB / 1.096 GB, free: 4.164 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002784/1.018, allocations: 0.6927 MB / 1.097 GB, free: 3.461 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.018, allocations: 12.5 kB / 1.097 GB, free: 3.449 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/1.018, allocations: 3.906 kB / 1.097 GB, free: 3.445 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/1.018, allocations: 170.8 kB / 1.097 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/1.018, allocations: 4 kB / 1.097 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/1.018, allocations: 0.5156 kB / 1.097 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.116e-05/1.018, allocations: 8 kB / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.803e-05/1.018, allocations: 30.2 kB / 1.097 GB, free: 3.195 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/1.018, allocations: 1.031 kB / 1.097 GB, free: 3.195 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/1.018, allocations: 8.406 kB / 1.097 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.018, allocations: 4.984 kB / 1.097 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/1.019, allocations: 233.2 kB / 1.097 GB, free: 2.922 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.823e-05/1.019, allocations: 26.52 kB / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.458e-05/1.019, allocations: 8.922 kB / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/1.019, allocations: 0 / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/1.019, allocations: 34.47 kB / 1.097 GB, free: 2.832 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.395e-06/1.019, allocations: 0 / 1.097 GB, free: 2.832 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001783/1.019, allocations: 40.52 kB / 1.097 GB, free: 2.789 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/1.019, allocations: 51.91 kB / 1.098 GB, free: 2.727 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/1.019, allocations: 102.4 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/1.019, allocations: 25.7 kB / 1.098 GB, free: 2.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/1.019, allocations: 80.77 kB / 1.098 GB, free: 2.508 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/1.019, allocations: 4.688 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/1.019, allocations: 3.938 kB / 1.098 GB, free: 2.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.019, allocations: 315.6 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/1.02, allocations: 4.594 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.388e-05/1.02, allocations: 8 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.602e-05/1.02, allocations: 4.984 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.02, allocations: 4 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001012/1.02, allocations: 43.86 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.02, allocations: 4.781 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.02, allocations: 0 / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/1.02, allocations: 0.5 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/1.02, allocations: 21.55 kB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/1.02, allocations: 0 / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/1.02, allocations: 11.92 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/1.02, allocations: 4 kB / 1.098 GB, free: 2.078 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 (2): * Single equations (assignments): 2 * 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.335e-05/1.02, allocations: 108.7 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/1.02, allocations: 0 / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/1.02, allocations: 52.94 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/1.02, allocations: 4 kB / 1.098 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.02, allocations: 0 / 1.098 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.02, allocations: 0 / 1.098 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/1.021, allocations: 141 kB / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.021, allocations: 0 / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/1.021, allocations: 13.67 kB / 1.098 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.021, allocations: 4.031 kB / 1.098 GB, free: 1.715 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/1.021, allocations: 0 / 1.098 GB, free: 1.715 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/1.021, allocations: 0 / 1.098 GB, free: 1.715 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.021, allocations: 4 kB / 1.098 GB, free: 1.711 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001443/1.021, allocations: 139.4 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002802/1.021, allocations: 0.5116 MB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/1.021, allocations: 77.11 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/1.021, allocations: 0 / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/1.021, allocations: 8.891 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/1.022, allocations: 3.984 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/1.022, allocations: 4 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.551e-05/1.022, allocations: 85.91 kB / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001085/1.023, allocations: 7.906 kB / 1.099 GB, free: 0.8281 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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.0001851/1.023, allocations: 95.25 kB / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001038/1.023, allocations: 15.94 kB / 1.099 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.023, allocations: 4 kB / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-05/1.023, allocations: 4 kB / 1.099 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/1.023, allocations: 6.344 kB / 1.099 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/1.024, allocations: 62.42 kB / 1.099 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/1.024, allocations: 0.688 MB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of SimCode: time 7.82e-07/1.024, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)