Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.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.Division,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Division",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Division,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Division",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.142/2.142, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001588/0.001587, allocations: 173.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 1.653/1.653, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001228/0.001228, allocations: 91.64 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2427/0.2439, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.802, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/1.005, allocations: 136.5 MB / 1.096 GB, free: 4.348 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/1.005, allocations: 69.33 kB / 1.096 GB, free: 4.281 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.003924/1.009, allocations: 0.8747 MB / 1.097 GB, free: 3.406 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.009, allocations: 9.094 kB / 1.097 GB, free: 3.398 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/1.009, allocations: 5.594 kB / 1.097 GB, free: 3.395 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/1.009, allocations: 178 kB / 1.097 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/1.009, allocations: 1.875 kB / 1.097 GB, free: 3.184 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/1.009, allocations: 7.5 kB / 1.097 GB, free: 3.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001113/1.009, allocations: 16 kB / 1.097 GB, free: 3.164 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/1.01, allocations: 37.7 kB / 1.097 GB, free: 3.121 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/1.01, allocations: 0 / 1.097 GB, free: 3.121 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.01, allocations: 0.75 kB / 1.097 GB, free: 3.121 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/1.01, allocations: 4 kB / 1.097 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/1.01, allocations: 286.5 kB / 1.098 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.743e-05/1.01, allocations: 39.05 kB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/1.01, allocations: 16.86 kB / 1.098 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/1.01, allocations: 0 / 1.098 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/1.011, allocations: 31.78 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/1.011, allocations: 2.641 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002011/1.011, allocations: 49.61 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/1.011, allocations: 55.48 kB / 1.098 GB, free: 2.578 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.359e-05/1.011, allocations: 97 kB / 1.098 GB, free: 2.477 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/1.011, allocations: 25.7 kB / 1.098 GB, free: 2.445 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/1.011, allocations: 96.06 kB / 1.098 GB, free: 2.348 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/1.011, allocations: 11.8 kB / 1.098 GB, free: 2.336 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/1.011, allocations: 4 kB / 1.098 GB, free: 2.332 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.011, allocations: 314.8 kB / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/1.011, allocations: 8 kB / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/1.011, allocations: 4.609 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/1.011, allocations: 8 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/1.011, allocations: 2.156 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000137/1.012, allocations: 58.11 kB / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/1.012, allocations: 9.25 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.012, allocations: 0 / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.012, allocations: 0 / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/1.012, allocations: 19.98 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.012, allocations: 0 / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/1.012, allocations: 33.59 kB / 1.098 GB, free: 1.875 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/1.012, allocations: 0 / 1.098 GB, free: 1.875 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.284e-05/1.012, allocations: 109.4 kB / 1.098 GB, free: 1.762 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/1.012, allocations: 7.906 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/1.012, allocations: 8.938 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/1.012, allocations: 0 / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.012, allocations: 0 / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.012, allocations: 0 / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/1.012, allocations: 150.1 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.012, allocations: 0 / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/1.013, allocations: 27.97 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/1.013, allocations: 0 / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/1.013, allocations: 4 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.013, allocations: 0 / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.013, allocations: 1.25 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001741/1.013, allocations: 144.7 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003099/1.013, allocations: 0.5202 MB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/1.013, allocations: 85.02 kB / 1.099 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/1.013, allocations: 0 / 1.099 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/1.014, allocations: 23.98 kB / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/1.014, allocations: 7.984 kB / 1.099 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/1.014, allocations: 0 / 1.099 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.88e-05/1.014, allocations: 83.28 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00109/1.015, allocations: 11.94 kB / 1.1 GB, free: 0.6055 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 (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.0001519/1.015, allocations: 99.23 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001324/1.015, allocations: 21.34 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.015, allocations: 4 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/1.015, allocations: 19.94 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/1.015, allocations: 7.906 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/1.016, allocations: 75.17 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/1.016, allocations: 0.6954 MB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/1.016, allocations: 3.938 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Division_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Division.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe 2>&1)