Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Division,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Division",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Division,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.243/1.243, allocations: 249.4 MB / 256.7 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009933/0.0009935, allocations: 185.2 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.138/1.138, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 86.27 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3332/0.3343, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.4874, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.445/0.9324, allocations: 131.6 MB / 1.013 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.9327, allocations: 68.41 kB / 1.013 GB, free: 6.512 MB / 0.6355 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.002454/0.9351, allocations: 0.9053 MB / 1.014 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.9352, allocations: 12 kB / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.9352, allocations: 7.594 kB / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.9353, allocations: 163.1 kB / 1.014 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.9354, allocations: 0 / 1.014 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.9354, allocations: 4 kB / 1.014 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.902e-05/0.9355, allocations: 18.25 kB / 1.014 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.129e-05/0.9355, allocations: 44.84 kB / 1.014 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.9356, allocations: 4 kB / 1.014 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.9356, allocations: 0 / 1.014 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9356, allocations: 0 / 1.014 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.936, allocations: 293.3 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.309e-05/0.9361, allocations: 30.39 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.9362, allocations: 20.89 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.9362, allocations: 3.984 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.9362, allocations: 33.88 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.9362, allocations: 0 / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001469/0.9364, allocations: 44.67 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.9364, allocations: 54.97 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/0.9365, allocations: 100.8 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.9365, allocations: 29.7 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.9365, allocations: 86.88 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.9365, allocations: 3.906 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.9366, allocations: 0 / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.9367, allocations: 322.5 kB / 1.015 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/0.9367, allocations: 7.062 kB / 1.015 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.081e-05/0.9367, allocations: 15.16 kB / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.946e-05/0.9368, allocations: 7 kB / 1.015 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9368, allocations: 3.906 kB / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001118/0.9369, allocations: 48.62 kB / 1.015 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.9369, allocations: 12 kB / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.9369, allocations: 0 / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.9369, allocations: 0.8438 kB / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.9371, allocations: 19.98 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.9371, allocations: 0 / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.032e-05/0.9372, allocations: 27.89 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.9372, allocations: 0 / 1.016 GB, free: 4.16 MB / 0.6355 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.674e-05/0.9373, allocations: 108.1 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.9373, allocations: 3.906 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.9373, allocations: 15.19 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.9373, allocations: 0 / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.9373, allocations: 3.938 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.9373, allocations: 0 / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.9375, allocations: 145 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.9375, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.9376, allocations: 31.91 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.9376, allocations: 3.938 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.9376, allocations: 3.906 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.9376, allocations: 0.875 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9376, allocations: 4 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001111/0.9377, allocations: 142.3 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001939/0.9379, allocations: 0.5174 MB / 1.016 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.938, allocations: 81.11 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.938, allocations: 3.938 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.9381, allocations: 19.98 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.9382, allocations: 7.109 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.9382, allocations: 4 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.617e-05/0.9382, allocations: 82.59 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007437/0.939, allocations: 15.84 kB / 1.017 GB, free: 2.914 MB / 0.6355 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.0001192/0.9391, allocations: 95.25 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.546e-05/0.9392, allocations: 30.42 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.9392, allocations: 0 / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.9392, allocations: 15.94 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.9394, allocations: 0 / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.9396, allocations: 81.88 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.9399, allocations: 0.6983 MB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.9399, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Division_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Division.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe 2>&1)