Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",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.1-maint.8.0.x/package.mo): time 1.294/1.294, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.0008788/0.0008788, allocations: 183.5 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9968/0.9968, allocations: 205.1 MB / 0.6195 GB, free: 11.92 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.000774/0.000774, allocations: 91.22 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1747/0.1755, allocations: 121.5 MB / 0.8512 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.5884, allocations: 115.3 MB / 0.9638 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.7192, allocations: 136.3 MB / 1.097 GB, free: 3.848 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/0.7194, allocations: 69.47 kB / 1.097 GB, free: 3.781 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005591/0.72, allocations: 360.8 kB / 1.097 GB, free: 3.391 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.72, allocations: 8 kB / 1.097 GB, free: 3.383 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.7201, allocations: 6.219 kB / 1.097 GB, free: 3.379 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.7202, allocations: 169.4 kB / 1.097 GB, free: 3.176 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.7202, allocations: 0 / 1.097 GB, free: 3.176 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-06/0.7202, allocations: 0 / 1.097 GB, free: 3.176 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.051e-05/0.7203, allocations: 3.938 kB / 1.097 GB, free: 3.172 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.462e-05/0.7203, allocations: 31.77 kB / 1.097 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.7203, allocations: 0 / 1.097 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.7203, allocations: 3.469 kB / 1.098 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.7203, allocations: 0 / 1.098 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.7206, allocations: 364 kB / 1.098 GB, free: 2.742 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.064e-05/0.7207, allocations: 168.2 kB / 1.098 GB, free: 2.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.7207, allocations: 84.61 kB / 1.098 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.7207, allocations: 76.22 kB / 1.098 GB, free: 2.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.7208, allocations: 108.1 kB / 1.098 GB, free: 2.297 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.7208, allocations: 2.078 kB / 1.098 GB, free: 2.297 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.924e-05/0.7208, allocations: 30.69 kB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.7209, allocations: 55.41 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.919e-05/0.7209, allocations: 85.72 kB / 1.098 GB, free: 2.105 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.7209, allocations: 28.11 kB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.721, allocations: 80.14 kB / 1.099 GB, free: 1.992 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-06/0.721, allocations: 0 / 1.099 GB, free: 1.992 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-07/0.721, allocations: 0 / 1.099 GB, free: 1.992 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.812e-05/0.7211, allocations: 325.3 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-06/0.7211, allocations: 0.5312 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-06/0.7211, allocations: 0 / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.7211, allocations: 79.72 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/0.7211, allocations: 76.53 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.995e-05/0.7212, allocations: 29.7 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.7212, allocations: 4.75 kB / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.7212, allocations: 75.28 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-05/0.7213, allocations: 155.5 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.016e-05/0.7213, allocations: 80 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.932e-05/0.7214, allocations: 159.5 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.7214, allocations: 84.91 kB / 1.1 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.7214, allocations: 76 kB / 1.1 GB, free: 0.8594 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 (0): * Single equations (assignments): 0 * 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.869e-05/0.7215, allocations: 256.9 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.7216, allocations: 105.9 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.7216, allocations: 107.9 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-05/0.7217, allocations: 181.1 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.542e-05/0.7217, allocations: 176.8 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.376e-05/0.7218, allocations: 186.2 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.722, allocations: 383.3 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/0.722, allocations: 106.3 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.722, allocations: 106.3 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.366e-05/0.7221, allocations: 184.8 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.7221, allocations: 177.1 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.335e-05/0.7222, allocations: 180.8 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.477e-05/0.7222, allocations: 178.8 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001006/0.7223, allocations: 309.6 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001711/0.7225, allocations: 0.6755 MB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.7226, allocations: 186.6 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.7226, allocations: 180.3 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.7227, allocations: 101 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.7228, allocations: 184.2 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.7228, allocations: 105 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.448e-05/0.7228, allocations: 83.28 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008259/0.7236, allocations: 3.906 kB / 1.104 GB, free: 12.56 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 (0): * Single equations (assignments): 0 * 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.0001129/0.7238, allocations: 174.3 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 2.389e-05/0.7238, allocations: 4 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7238, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.7238, allocations: 96 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.7241, allocations: 0.5271 MB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001423/0.7242, allocations: 123.4 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.7244, allocations: 0.6763 MB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.7244, allocations: 4 kB / 1.105 GB, free: 11 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)