Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Division,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.404/1.404, allocations: 289.8 MB / 297 MB, free: 6.617 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.001008/0.001008, allocations: 181.2 kB / 366.3 MB, free: 1.98 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.067/1.067, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0008103/0.0008103, allocations: 77.56 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1971/0.198, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.6386, allocations: 116.3 MB / 0.9727 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.7975, allocations: 137.7 MB / 1.107 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.7978, allocations: 68.73 kB / 1.107 GB, free: 10.73 MB / 0.7136 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.002563/0.8003, allocations: 0.8726 MB / 1.108 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.8004, allocations: 8 kB / 1.108 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.8004, allocations: 3.906 kB / 1.108 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.8005, allocations: 171 kB / 1.108 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.8006, allocations: 4 kB / 1.108 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.8006, allocations: 4 kB / 1.108 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.131e-05/0.8007, allocations: 19.94 kB / 1.108 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/0.8007, allocations: 41.69 kB / 1.108 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.8008, allocations: 3.984 kB / 1.108 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.8008, allocations: 0.5625 kB / 1.108 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.8008, allocations: 4 kB / 1.108 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.8013, allocations: 289.3 kB / 1.109 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/0.8013, allocations: 34.58 kB / 1.109 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.8014, allocations: 12.86 kB / 1.109 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.8014, allocations: 3.938 kB / 1.109 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.8014, allocations: 31.88 kB / 1.109 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.8014, allocations: 0 / 1.109 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001498/0.8016, allocations: 53.69 kB / 1.109 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.8016, allocations: 55.41 kB / 1.109 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.409e-05/0.8017, allocations: 97 kB / 1.109 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.8017, allocations: 25.7 kB / 1.109 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.8017, allocations: 88.12 kB / 1.109 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.8018, allocations: 7.812 kB / 1.109 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.8018, allocations: 4 kB / 1.109 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.8019, allocations: 314.8 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.8019, allocations: 4 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.8019, allocations: 12 kB / 1.109 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.147e-05/0.8019, allocations: 8 kB / 1.109 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.802, allocations: 0 / 1.109 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.374e-05/0.802, allocations: 58.19 kB / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.8021, allocations: 4 kB / 1.109 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.8021, allocations: 0 / 1.109 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.8021, allocations: 0 / 1.109 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.8023, allocations: 35.91 kB / 1.109 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.8023, allocations: 2.031 kB / 1.109 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.171e-05/0.8024, allocations: 19.98 kB / 1.109 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.8024, allocations: 5.312 kB / 1.109 GB, free: 8.277 MB / 0.7136 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 6.181e-05/0.8024, allocations: 101 kB / 1.11 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.8025, allocations: 7.906 kB / 1.11 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.8025, allocations: 4 kB / 1.11 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.8025, allocations: 0 / 1.11 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8025, allocations: 0 / 1.11 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8025, allocations: 0 / 1.11 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.8027, allocations: 154.1 kB / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8027, allocations: 0 / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.8028, allocations: 23.98 kB / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.8028, allocations: 0 / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.8028, allocations: 11.94 kB / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8028, allocations: 0 / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.8028, allocations: 0 / 1.11 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001114/0.803, allocations: 149.7 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001826/0.8031, allocations: 0.5118 MB / 1.11 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.8032, allocations: 89.05 kB / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.8032, allocations: 0 / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.8033, allocations: 23.97 kB / 1.11 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.8034, allocations: 8 kB / 1.11 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.8034, allocations: 0 / 1.11 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.207e-05/0.8034, allocations: 83.22 kB / 1.111 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007353/0.8042, allocations: 11.94 kB / 1.111 GB, free: 7.004 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.0001089/0.8043, allocations: 107.2 kB / 1.111 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.951e-05/0.8044, allocations: 20 kB / 1.111 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.8044, allocations: 0 / 1.111 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.23e-05/0.8044, allocations: 12 kB / 1.111 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.8046, allocations: 14.66 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.8048, allocations: 74.3 kB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.805, allocations: 0.7032 MB / 1.111 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.805, allocations: 0 / 1.111 GB, free: 6.027 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Division_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Division.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe 2>&1)