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.Sine.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.Sine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine",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.832 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.0009046/0.0009047, allocations: 193.1 kB / 361.1 MB, free: 400 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.879 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.0007863/0.0007864, allocations: 94.8 kB / 0.7326 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3563/0.3571, allocations: 121.5 MB / 0.8512 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.5042, allocations: 115.3 MB / 0.9638 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.9185, allocations: 136.7 MB / 1.097 GB, free: 43.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001593/0.9187, allocations: 65.77 kB / 1.097 GB, free: 43.88 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001465/0.9202, allocations: 0.6618 MB / 1.098 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.9202, allocations: 13.19 kB / 1.098 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.9203, allocations: 4 kB / 1.098 GB, free: 43.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.697e-05/0.9204, allocations: 172.7 kB / 1.098 GB, free: 43.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.036e-06/0.9204, allocations: 0 / 1.098 GB, free: 43.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.9204, allocations: 1.922 kB / 1.098 GB, free: 43.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.918e-05/0.9204, allocations: 3.625 kB / 1.098 GB, free: 43.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.019e-05/0.9205, allocations: 34.2 kB / 1.098 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.9205, allocations: 0 / 1.098 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.9205, allocations: 3.812 kB / 1.098 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.9205, allocations: 5.984 kB / 1.098 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.053e-05/0.9206, allocations: 134.4 kB / 1.098 GB, free: 43.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.38e-05/0.9206, allocations: 17.77 kB / 1.098 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.9207, allocations: 9.859 kB / 1.098 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.9207, allocations: 1.312 kB / 1.098 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.117e-06/0.9207, allocations: 33.94 kB / 1.098 GB, free: 43.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.9207, allocations: 0 / 1.098 GB, free: 43.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 9.382e-05/0.9208, allocations: 34.34 kB / 1.098 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.322e-05/0.9208, allocations: 55.44 kB / 1.099 GB, free: 42.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.785e-05/0.9209, allocations: 104.4 kB / 1.099 GB, free: 42.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.9209, allocations: 26.36 kB / 1.099 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.927e-06/0.9209, allocations: 83.08 kB / 1.099 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.9209, allocations: 1.078 kB / 1.099 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.9209, allocations: 0 / 1.099 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.218e-05/0.9209, allocations: 315.2 kB / 1.099 GB, free: 42.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.921, allocations: 3.938 kB / 1.099 GB, free: 42.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-06/0.921, allocations: 9.812 kB / 1.099 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.274e-05/0.921, allocations: 1.031 kB / 1.099 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.921, allocations: 0.7656 kB / 1.099 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.829e-05/0.921, allocations: 45.86 kB / 1.099 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.9211, allocations: 3.219 kB / 1.099 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.9211, allocations: 3.125 kB / 1.099 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.9211, allocations: 0 / 1.099 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-05/0.9211, allocations: 6.375 kB / 1.099 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.9212, allocations: 4.094 kB / 1.099 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.9212, allocations: 7.156 kB / 1.099 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.9212, allocations: 3.797 kB / 1.099 GB, free: 42.39 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 (1): * Single equations (assignments): 1 * 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.181e-05/0.9212, allocations: 101 kB / 1.099 GB, free: 42.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.9213, allocations: 7.094 kB / 1.099 GB, free: 42.28 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.9213, allocations: 6.922 kB / 1.099 GB, free: 42.28 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.9213, allocations: 0 / 1.099 GB, free: 42.28 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.9213, allocations: 0 / 1.099 GB, free: 42.28 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.9213, allocations: 4 kB / 1.099 GB, free: 42.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.075e-05/0.9213, allocations: 132.3 kB / 1.099 GB, free: 42.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9213, allocations: 3.906 kB / 1.099 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.9214, allocations: 14.16 kB / 1.099 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.9214, allocations: 0 / 1.099 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.9214, allocations: 0 / 1.099 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9214, allocations: 0.625 kB / 1.099 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9214, allocations: 0 / 1.099 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.252e-05/0.9215, allocations: 69.45 kB / 1.099 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001323/0.9216, allocations: 434.2 kB / 1.1 GB, free: 57.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.9216, allocations: 87.55 kB / 1.1 GB, free: 57.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.9217, allocations: 0 / 1.1 GB, free: 57.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.398e-05/0.9217, allocations: 7.281 kB / 1.1 GB, free: 57.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.339e-05/0.9217, allocations: 10.3 kB / 1.1 GB, free: 57.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.9217, allocations: 3 kB / 1.1 GB, free: 57.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.881e-05/0.9218, allocations: 83.83 kB / 1.1 GB, free: 57.42 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006856/0.9225, allocations: 3.188 kB / 1.1 GB, free: 57.42 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 (1): * Single equations (assignments): 1 * 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 7.75e-05/0.9225, allocations: 102.2 kB / 1.1 GB, free: 57.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.629e-05/0.9226, allocations: 5.344 kB / 1.1 GB, free: 57.33 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.9226, allocations: 3.938 kB / 1.1 GB, free: 57.33 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-05/0.9226, allocations: 7.25 kB / 1.1 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.976e-05/0.9227, allocations: 9.312 kB / 1.1 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001419/0.9228, allocations: 53.39 kB / 1.1 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.923, allocations: 0.687 MB / 1.101 GB, free: 56.55 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.923, allocations: 0 / 1.101 GB, free: 56.55 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)