Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Validation.Add,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.354/1.354, allocations: 285.5 MB / 292.8 MB, free: 9.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.0009326/0.0009326, allocations: 189.2 kB / 361.1 MB, free: 340 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.034/1.034, allocations: 205.1 MB / 0.6195 GB, free: 2.836 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007616/0.0007615, allocations: 94.67 kB / 0.7326 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3549/0.3557, allocations: 121.5 MB / 0.8512 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.5026, allocations: 115.3 MB / 0.9638 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4171/0.9198, allocations: 136.7 MB / 1.097 GB, free: 44.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001602/0.92, allocations: 71.27 kB / 1.097 GB, free: 44.4 MB / 0.7136 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.002171/0.9221, allocations: 0.9047 MB / 1.098 GB, free: 44.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.9222, allocations: 8.156 kB / 1.098 GB, free: 44.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.9222, allocations: 7.344 kB / 1.098 GB, free: 44.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.786e-05/0.9223, allocations: 174.5 kB / 1.098 GB, free: 43.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.9223, allocations: 1.094 kB / 1.098 GB, free: 43.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.9223, allocations: 2.156 kB / 1.098 GB, free: 43.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.431e-05/0.9224, allocations: 19.91 kB / 1.098 GB, free: 43.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.03e-05/0.9225, allocations: 48.31 kB / 1.098 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.9225, allocations: 0.75 kB / 1.098 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.9225, allocations: 0 / 1.098 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.9225, allocations: 2.078 kB / 1.098 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.9229, allocations: 289.9 kB / 1.099 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.433e-05/0.923, allocations: 40.38 kB / 1.099 GB, free: 43.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.923, allocations: 15.3 kB / 1.099 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.923, allocations: 7.781 kB / 1.099 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.108e-05/0.923, allocations: 33.56 kB / 1.099 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.923, allocations: 0.6562 kB / 1.099 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001303/0.9232, allocations: 45.72 kB / 1.099 GB, free: 43.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.432e-05/0.9232, allocations: 55.25 kB / 1.099 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.89e-05/0.9232, allocations: 112.7 kB / 1.099 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.9233, allocations: 25.7 kB / 1.099 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.647e-05/0.9233, allocations: 86.98 kB / 1.099 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.9233, allocations: 15.56 kB / 1.099 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.9233, allocations: 0 / 1.099 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.527e-05/0.9234, allocations: 313.5 kB / 1.099 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.9234, allocations: 6.375 kB / 1.099 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.857e-05/0.9234, allocations: 12.81 kB / 1.1 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.057e-05/0.9234, allocations: 9.984 kB / 1.1 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.9234, allocations: 4.766 kB / 1.1 GB, free: 42.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.203e-05/0.9235, allocations: 52.42 kB / 1.1 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-06/0.9235, allocations: 3.875 kB / 1.1 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.9235, allocations: 0 / 1.1 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/0.9235, allocations: 0 / 1.1 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.9237, allocations: 30.98 kB / 1.1 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.9237, allocations: 3.984 kB / 1.1 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.384e-05/0.9238, allocations: 19.5 kB / 1.1 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.9238, allocations: 0 / 1.1 GB, free: 42.77 MB / 0.7136 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 3.696e-05/0.9238, allocations: 116.7 kB / 1.1 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.9239, allocations: 0 / 1.1 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.9239, allocations: 18.89 kB / 1.1 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.9239, allocations: 0 / 1.1 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.9239, allocations: 1.078 kB / 1.1 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.9239, allocations: 0 / 1.1 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.213e-05/0.924, allocations: 143.1 kB / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.924, allocations: 0 / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.974e-05/0.9241, allocations: 26.2 kB / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.9241, allocations: 3.875 kB / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.9241, allocations: 0 / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.9241, allocations: 0 / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9242, allocations: 3.906 kB / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001246/0.9243, allocations: 148.3 kB / 1.1 GB, free: 58.34 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001685/0.9245, allocations: 0.524 MB / 1.101 GB, free: 57.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.9245, allocations: 84.5 kB / 1.101 GB, free: 57.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.9245, allocations: 0 / 1.101 GB, free: 57.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.9246, allocations: 19.78 kB / 1.101 GB, free: 57.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.9247, allocations: 11.55 kB / 1.101 GB, free: 57.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.9247, allocations: 0 / 1.101 GB, free: 57.72 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.67e-05/0.9247, allocations: 91.59 kB / 1.101 GB, free: 57.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007397/0.9255, allocations: 3.875 kB / 1.101 GB, free: 57.64 MB / 0.7292 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.0001011/0.9256, allocations: 105.4 kB / 1.101 GB, free: 57.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.414e-05/0.9256, allocations: 26.81 kB / 1.101 GB, free: 57.55 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.9257, allocations: 0 / 1.101 GB, free: 57.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.9257, allocations: 16.56 kB / 1.101 GB, free: 57.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.9259, allocations: 5.312 kB / 1.101 GB, free: 57.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002043/0.9261, allocations: 72.91 kB / 1.101 GB, free: 57.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.9263, allocations: 0.6945 MB / 1.102 GB, free: 56.78 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.9263, allocations: 11.78 kB / 1.102 GB, free: 56.77 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)