Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.Line,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.468/1.468, allocations: 289.8 MB / 297.1 MB, free: 8.945 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.0009566/0.0009566, allocations: 181.3 kB / 366.3 MB, free: 11.33 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.145/1.145, allocations: 205.1 MB / 0.6256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008437/0.0008437, allocations: 98.88 kB / 0.7396 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.3823/0.3832, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.5532, allocations: 116.3 MB / 0.9727 GB, free: 31.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4562/1.009, allocations: 138 MB / 1.107 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000175/1.01, allocations: 66.16 kB / 1.107 GB, free: 16.51 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.004093/1.014, allocations: 1.743 MB / 1.109 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.014, allocations: 9.656 kB / 1.109 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/1.014, allocations: 15.56 kB / 1.109 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/1.014, allocations: 207.8 kB / 1.109 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1.014, allocations: 8.125 kB / 1.109 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/1.014, allocations: 11.78 kB / 1.109 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002069/1.014, allocations: 91.94 kB / 1.11 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/1.014, allocations: 117 kB / 1.11 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/1.014, allocations: 0 / 1.11 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/1.014, allocations: 0.5312 kB / 1.11 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/1.015, allocations: 3.375 kB / 1.11 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008122/1.015, allocations: 491.3 kB / 1.11 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/1.015, allocations: 63.39 kB / 1.11 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/1.016, allocations: 27.84 kB / 1.11 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/1.016, allocations: 6.016 kB / 1.11 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/1.016, allocations: 35.75 kB / 1.11 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/1.016, allocations: 0 / 1.11 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0002223/1.016, allocations: 87.47 kB / 1.11 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.534e-05/1.016, allocations: 57.03 kB / 1.11 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/1.016, allocations: 126.9 kB / 1.11 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/1.016, allocations: 26.2 kB / 1.111 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/1.016, allocations: 122.5 kB / 1.111 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/1.016, allocations: 29.94 kB / 1.111 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/1.016, allocations: 1.281 kB / 1.111 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/1.016, allocations: 323.4 kB / 1.111 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/1.016, allocations: 26.03 kB / 1.111 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/1.016, allocations: 28.34 kB / 1.111 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.093e-05/1.016, allocations: 36.08 kB / 1.111 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.016, allocations: 0.75 kB / 1.111 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001974/1.017, allocations: 112.3 kB / 1.111 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.017, allocations: 5.609 kB / 1.111 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.017, allocations: 1.594 kB / 1.111 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.017, allocations: 1.094 kB / 1.111 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/1.017, allocations: 27.78 kB / 1.111 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/1.017, allocations: 4.625 kB / 1.111 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/1.017, allocations: 18.66 kB / 1.111 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/1.017, allocations: 2.781 kB / 1.111 GB, free: 14.71 MB / 0.6823 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 (13): * Single equations (assignments): 13 * 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 4.852e-05/1.017, allocations: 114.2 kB / 1.111 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/1.017, allocations: 12.94 kB / 1.111 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/1.017, allocations: 104.4 kB / 1.111 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.017, allocations: 2.312 kB / 1.111 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.017, allocations: 3.938 kB / 1.111 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.017, allocations: 0.7969 kB / 1.111 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/1.018, allocations: 385.3 kB / 1.112 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.018, allocations: 2.312 kB / 1.112 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/1.018, allocations: 32 kB / 1.112 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.018, allocations: 2.125 kB / 1.112 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/1.018, allocations: 1.031 kB / 1.112 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.018, allocations: 2.203 kB / 1.112 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.018, allocations: 1.281 kB / 1.112 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001633/1.018, allocations: 245.2 kB / 1.112 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001956/1.018, allocations: 0.6099 MB / 1.113 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/1.018, allocations: 96.59 kB / 1.113 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/1.018, allocations: 2.203 kB / 1.113 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/1.018, allocations: 22.81 kB / 1.113 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/1.018, allocations: 11.09 kB / 1.113 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/1.018, allocations: 7.094 kB / 1.113 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.865e-05/1.018, allocations: 106.2 kB / 1.113 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008272/1.019, allocations: 27.38 kB / 1.113 GB, free: 13.24 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 9.997e-05/1.019, allocations: 106.4 kB / 1.113 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001365/1.02, allocations: 65.5 kB / 1.113 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.02, allocations: 1.406 kB / 1.113 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.999e-05/1.02, allocations: 39.72 kB / 1.113 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/1.02, allocations: 9.891 kB / 1.113 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/1.02, allocations: 165 kB / 1.113 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/1.02, allocations: 0.7259 MB / 1.114 GB, free: 28.32 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/1.02, allocations: 0 / 1.114 GB, free: 28.32 MB / 0.698 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1)