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.Modulo.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.Modulo,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.351/1.351, allocations: 285.5 MB / 292.8 MB, free: 9.922 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.001011/0.001011, allocations: 195.5 kB / 361.1 MB, free: 428 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.031/1.031, allocations: 205.1 MB / 0.6195 GB, free: 2.91 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.0007665/0.0007665, allocations: 89.14 kB / 0.7326 GB, free: 1.172 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3565/0.3573, allocations: 121.5 MB / 0.8512 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.5012, allocations: 115.3 MB / 0.9638 GB, free: 56.33 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4177/0.9189, allocations: 136.7 MB / 1.097 GB, free: 44.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.9192, allocations: 68.12 kB / 1.097 GB, free: 44.11 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.003304/0.9225, allocations: 1.455 MB / 1.099 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.9225, allocations: 11.62 kB / 1.099 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.9226, allocations: 3.906 kB / 1.099 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.303e-05/0.9226, allocations: 178.7 kB / 1.099 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.9227, allocations: 0 / 1.099 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.9227, allocations: 3.75 kB / 1.099 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.423e-05/0.9227, allocations: 22.12 kB / 1.099 GB, free: 43.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.217e-05/0.9228, allocations: 40.88 kB / 1.099 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.9228, allocations: 0 / 1.099 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.9228, allocations: 0 / 1.099 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.9228, allocations: 0 / 1.099 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.9232, allocations: 287.9 kB / 1.099 GB, free: 43.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.337e-05/0.9233, allocations: 35.36 kB / 1.099 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.9233, allocations: 16.36 kB / 1.099 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.9233, allocations: 0.75 kB / 1.099 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.217e-05/0.9234, allocations: 32.5 kB / 1.099 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.9234, allocations: 0 / 1.099 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000132/0.9235, allocations: 52.3 kB / 1.099 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.9235, allocations: 55.03 kB / 1.099 GB, free: 43.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.29e-05/0.9236, allocations: 99.31 kB / 1.1 GB, free: 42.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.9236, allocations: 25.7 kB / 1.1 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.783e-05/0.9236, allocations: 88.02 kB / 1.1 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.9236, allocations: 16.25 kB / 1.1 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.9236, allocations: 0 / 1.1 GB, free: 42.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.9237, allocations: 313.9 kB / 1.1 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.9237, allocations: 6.969 kB / 1.1 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.9237, allocations: 10.19 kB / 1.1 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.044e-05/0.9238, allocations: 10.38 kB / 1.1 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.9238, allocations: 4 kB / 1.1 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.517e-05/0.9238, allocations: 55.58 kB / 1.1 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.9239, allocations: 7.125 kB / 1.1 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.9239, allocations: 0 / 1.1 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.9239, allocations: 0 / 1.1 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.924, allocations: 29.62 kB / 1.1 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.924, allocations: 0 / 1.1 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.708e-05/0.9241, allocations: 18.92 kB / 1.1 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.9241, allocations: 0 / 1.1 GB, free: 42.47 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.858e-05/0.9242, allocations: 107.5 kB / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.9242, allocations: 11.62 kB / 1.1 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.9243, allocations: 11.62 kB / 1.1 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.9243, allocations: 3.984 kB / 1.1 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.9243, allocations: 0 / 1.1 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.9243, allocations: 0 / 1.1 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.517e-05/0.9244, allocations: 147.8 kB / 1.1 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.9244, allocations: 0 / 1.1 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.9245, allocations: 30.88 kB / 1.1 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.9245, allocations: 1.312 kB / 1.1 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.9245, allocations: 0 / 1.1 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.9245, allocations: 3.938 kB / 1.1 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9245, allocations: 0 / 1.1 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001038/0.9246, allocations: 148.7 kB / 1.101 GB, free: 58.03 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001668/0.9248, allocations: 0.5138 MB / 1.101 GB, free: 57.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.9248, allocations: 80.98 kB / 1.101 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.9248, allocations: 3.906 kB / 1.101 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.925, allocations: 22.56 kB / 1.101 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.925, allocations: 3.875 kB / 1.101 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.925, allocations: 3.375 kB / 1.101 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.315e-05/0.9251, allocations: 89.39 kB / 1.101 GB, free: 57.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007271/0.9258, allocations: 7.812 kB / 1.101 GB, free: 57.35 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 9.723e-05/0.9259, allocations: 104.7 kB / 1.101 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.755e-05/0.926, allocations: 23.67 kB / 1.101 GB, free: 57.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.926, allocations: 2.125 kB / 1.101 GB, free: 57.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.87e-05/0.926, allocations: 16.38 kB / 1.101 GB, free: 57.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.9262, allocations: 3.625 kB / 1.101 GB, free: 57.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002002/0.9264, allocations: 81.27 kB / 1.102 GB, free: 57.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.9267, allocations: 0.6922 MB / 1.102 GB, free: 56.48 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.9267, allocations: 7.938 kB / 1.102 GB, free: 56.47 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)