Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.094/2.094, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001605/0.001605, allocations: 185.3 kB / 360.3 MB, free: 7.539 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.632/1.632, allocations: 205.1 MB / 0.6187 GB, free: 13.3 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.001216/0.001215, allocations: 90.98 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2445/0.2458, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.7904, allocations: 115.2 MB / 0.9628 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.9916, allocations: 136.6 MB / 1.096 GB, free: 4.293 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.9919, allocations: 68.75 kB / 1.096 GB, free: 4.227 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002674/0.9946, allocations: 0.6746 MB / 1.097 GB, free: 3.539 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.9947, allocations: 8.5 kB / 1.097 GB, free: 3.531 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.9947, allocations: 14.08 kB / 1.097 GB, free: 3.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.9949, allocations: 162.3 kB / 1.097 GB, free: 3.324 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.9949, allocations: 0 / 1.097 GB, free: 3.324 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.9949, allocations: 4 kB / 1.097 GB, free: 3.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.134e-05/0.995, allocations: 13.44 kB / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.14e-05/0.9951, allocations: 35.53 kB / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.9951, allocations: 0 / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.9952, allocations: 3.906 kB / 1.097 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9952, allocations: 0 / 1.097 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.9957, allocations: 248.4 kB / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.77e-05/0.9958, allocations: 23.58 kB / 1.097 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.9958, allocations: 14.45 kB / 1.097 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.9958, allocations: 0 / 1.097 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.9959, allocations: 35 kB / 1.097 GB, free: 2.898 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.836e-06/0.9959, allocations: 3 kB / 1.097 GB, free: 2.898 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001712/0.9961, allocations: 44.36 kB / 1.097 GB, free: 2.852 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.9961, allocations: 55.97 kB / 1.097 GB, free: 2.785 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.9962, allocations: 94.3 kB / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.9962, allocations: 26.27 kB / 1.098 GB, free: 2.656 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.9963, allocations: 80.64 kB / 1.098 GB, free: 2.574 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.9963, allocations: 4.594 kB / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.9963, allocations: 0 / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9965, allocations: 319.4 kB / 1.098 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.9965, allocations: 5.875 kB / 1.098 GB, free: 2.246 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.9965, allocations: 8 kB / 1.098 GB, free: 2.238 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.9966, allocations: 7.938 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9966, allocations: 0 / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001045/0.9967, allocations: 42.23 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.9967, allocations: 5.938 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.9967, allocations: 3.984 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.9968, allocations: 0.625 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.9969, allocations: 13.28 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9969, allocations: 4.984 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.9971, allocations: 11.98 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.9971, allocations: 5.906 kB / 1.098 GB, free: 2.145 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 (2): * Single equations (assignments): 2 * 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 7.916e-05/0.9972, allocations: 108.7 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.9972, allocations: 0 / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.9973, allocations: 48.94 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.9974, allocations: 8.031 kB / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9974, allocations: 0 / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9974, allocations: 0 / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.9976, allocations: 142.1 kB / 1.098 GB, free: 1.793 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9976, allocations: 0 / 1.098 GB, free: 1.793 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.9977, allocations: 8 kB / 1.098 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.9977, allocations: 0.5625 kB / 1.098 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.9978, allocations: 1.938 kB / 1.098 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9978, allocations: 9.031 kB / 1.098 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.9978, allocations: 3.984 kB / 1.098 GB, free: 1.773 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001362/0.9979, allocations: 131.5 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002722/0.9982, allocations: 0.5155 MB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.9983, allocations: 77.11 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.9983, allocations: 0 / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.9985, allocations: 11.98 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.9985, allocations: 0.6094 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.9985, allocations: 4 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-05/0.9986, allocations: 79.28 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001082/0.9997, allocations: 11.91 kB / 1.099 GB, free: 0.8945 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 (2): * Single equations (assignments): 2 * 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.0001403/0.9998, allocations: 106.5 kB / 1.099 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.638e-05/0.9999, allocations: 14.59 kB / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9999, allocations: 0 / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/1, allocations: 7.938 kB / 1.099 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/1, allocations: 0.5156 kB / 1.099 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/1, allocations: 64.86 kB / 1.099 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/1.001, allocations: 0.6841 MB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/1.001, allocations: 0 / 1.1 GB, free: 15.97 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1)