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.Abs.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.Abs,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",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.333/1.333, allocations: 285.5 MB / 292.8 MB, free: 9.809 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.0009028/0.0009028, allocations: 181.2 kB / 361.1 MB, free: 344 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.027/1.027, allocations: 205.1 MB / 0.6195 GB, free: 2.812 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.0007636/0.0007637, allocations: 90 kB / 0.7326 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3632/0.364, allocations: 121.5 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.5085, allocations: 115.3 MB / 0.9638 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/0.9236, allocations: 136.7 MB / 1.097 GB, free: 43.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.9238, allocations: 67.59 kB / 1.097 GB, free: 43.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00235/0.9261, allocations: 1.069 MB / 1.098 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.9262, allocations: 9.562 kB / 1.098 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.9262, allocations: 3.906 kB / 1.098 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.621e-05/0.9263, allocations: 165.1 kB / 1.099 GB, free: 43.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.9263, allocations: 0 / 1.099 GB, free: 43.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.9263, allocations: 4 kB / 1.099 GB, free: 43.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.546e-05/0.9264, allocations: 9.469 kB / 1.099 GB, free: 43.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.991e-05/0.9264, allocations: 34.34 kB / 1.099 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.9264, allocations: 0.9375 kB / 1.099 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.9265, allocations: 0 / 1.099 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.9265, allocations: 4.906 kB / 1.099 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.9268, allocations: 245.6 kB / 1.099 GB, free: 43.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.602e-05/0.9268, allocations: 30.17 kB / 1.099 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.9268, allocations: 11.73 kB / 1.099 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.9268, allocations: 0.75 kB / 1.099 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.034e-05/0.9269, allocations: 36.38 kB / 1.099 GB, free: 42.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.9269, allocations: 0 / 1.099 GB, free: 42.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001117/0.927, allocations: 40.73 kB / 1.099 GB, free: 42.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.089e-05/0.927, allocations: 51.41 kB / 1.099 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.4e-05/0.927, allocations: 96.05 kB / 1.099 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.9271, allocations: 25.7 kB / 1.099 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.264e-05/0.9271, allocations: 84.02 kB / 1.099 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.9271, allocations: 7.844 kB / 1.099 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.9271, allocations: 4.031 kB / 1.099 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.017e-05/0.9271, allocations: 317.7 kB / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.9271, allocations: 3.969 kB / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.9272, allocations: 9.844 kB / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.441e-05/0.9272, allocations: 6.281 kB / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.9272, allocations: 0 / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.184e-05/0.9272, allocations: 43.73 kB / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.9273, allocations: 3.875 kB / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.9273, allocations: 4.094 kB / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/0.9273, allocations: 0 / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.9274, allocations: 15.45 kB / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.9274, allocations: 0 / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.9274, allocations: 11.45 kB / 1.1 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.9274, allocations: 4 kB / 1.1 GB, free: 42.31 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 (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 3.049e-05/0.9275, allocations: 101 kB / 1.1 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.9275, allocations: 3.906 kB / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.9275, allocations: 9.625 kB / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.9275, allocations: 0 / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.9275, allocations: 0 / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.9276, allocations: 3.938 kB / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.116e-05/0.9276, allocations: 140 kB / 1.1 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.9276, allocations: 0 / 1.1 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.9277, allocations: 14.5 kB / 1.1 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.9277, allocations: 3.875 kB / 1.1 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.9277, allocations: 0 / 1.1 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9277, allocations: 3.797 kB / 1.1 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9277, allocations: 0 / 1.1 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001058/0.9278, allocations: 142.7 kB / 1.1 GB, free: 57.89 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001682/0.928, allocations: 0.5067 MB / 1.101 GB, free: 57.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.928, allocations: 81.02 kB / 1.101 GB, free: 57.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.9281, allocations: 3.984 kB / 1.101 GB, free: 57.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.477e-05/0.9281, allocations: 15.67 kB / 1.101 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.9282, allocations: 0 / 1.101 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.9282, allocations: 2.625 kB / 1.101 GB, free: 57.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.84e-05/0.9282, allocations: 82.59 kB / 1.101 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007193/0.9289, allocations: 3.875 kB / 1.101 GB, free: 57.21 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 (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 9.559e-05/0.929, allocations: 102.4 kB / 1.101 GB, free: 57.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.104e-05/0.9291, allocations: 12.62 kB / 1.101 GB, free: 57.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9291, allocations: 64 / 1.101 GB, free: 57.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.617e-05/0.9291, allocations: 13.88 kB / 1.101 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.9293, allocations: 15.59 kB / 1.101 GB, free: 57.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001475/0.9294, allocations: 61.7 kB / 1.101 GB, free: 57.03 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.9297, allocations: 0.6873 MB / 1.102 GB, free: 56.33 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.9297, allocations: 0 / 1.102 GB, free: 56.33 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1)