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.Line.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.Line,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 7.039 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.001006/0.001006, allocations: 177.3 kB / 316 MB, free: 3.547 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.136/1.136, allocations: 205.2 MB / 0.5667 GB, free: 15.65 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.0008198/0.0008197, allocations: 94.34 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3386/0.3395, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.495, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4615/0.9565, allocations: 132 MB / 1.014 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.9568, allocations: 76.69 kB / 1.014 GB, free: 6.52 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.004627/0.9614, allocations: 1.756 MB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.9615, allocations: 12.75 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.9616, allocations: 15.81 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.9618, allocations: 201.8 kB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.9618, allocations: 4 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.9618, allocations: 11.91 kB / 1.016 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001928/0.962, allocations: 95.55 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.9622, allocations: 110.3 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.9623, allocations: 0 / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.9623, allocations: 3.938 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.9623, allocations: 7.984 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007743/0.9631, allocations: 489.7 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.9632, allocations: 67.5 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.9633, allocations: 35.03 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.9633, allocations: 3.984 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.9633, allocations: 38.03 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.9633, allocations: 3.938 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002142/0.9635, allocations: 83.16 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.9636, allocations: 59.39 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.9637, allocations: 121.1 kB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.9637, allocations: 29.7 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.9638, allocations: 122.3 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.9638, allocations: 31.42 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.9639, allocations: 0 / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.964, allocations: 318.1 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.183e-05/0.964, allocations: 30.61 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/0.9641, allocations: 27.75 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.591e-05/0.9641, allocations: 33.75 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9642, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001655/0.9643, allocations: 115.2 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.9643, allocations: 4 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.9644, allocations: 0 / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.9644, allocations: 0 / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.9646, allocations: 27.98 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.9646, allocations: 0 / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.9647, allocations: 24.48 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.9647, allocations: 4 kB / 1.017 GB, free: 2.918 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 (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 6.033e-05/0.9648, allocations: 104.9 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.9648, allocations: 7.906 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.965, allocations: 112.4 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.965, allocations: 3.906 kB / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.965, allocations: 6.812 kB / 1.018 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.965, allocations: 4 kB / 1.018 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.9655, allocations: 382.3 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9655, allocations: 0 / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.9656, allocations: 23.98 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.9656, allocations: 0 / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.9656, allocations: 8.094 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.9657, allocations: 7.922 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9657, allocations: 4 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001963/0.9659, allocations: 239.6 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002832/0.9662, allocations: 0.6181 MB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.9662, allocations: 92.27 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.9662, allocations: 0 / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.9664, allocations: 27.97 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.9664, allocations: 4 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.9664, allocations: 7.438 kB / 1.019 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.734e-05/0.9665, allocations: 105.1 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00076/0.9673, allocations: 19.91 kB / 1.019 GB, free: 1.113 MB / 0.6355 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 0.0001356/0.9674, allocations: 103.2 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.9676, allocations: 73.48 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9676, allocations: 4 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.9676, allocations: 30.75 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.9678, allocations: 11.31 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.9682, allocations: 172 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.9686, allocations: 0.7272 MB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.9686, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1)