Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.405/1.405, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001004/0.001003, allocations: 173.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.147/1.147, allocations: 205.1 MB / 0.6256 GB, free: 7.449 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.0008419/0.0008419, allocations: 93.2 kB / 0.7395 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1999/0.2008, allocations: 122.5 MB / 0.8591 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.6753, allocations: 116.3 MB / 0.9727 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.8196, allocations: 137.7 MB / 1.107 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.8199, allocations: 69.27 kB / 1.107 GB, free: 12.69 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.001864/0.8218, allocations: 0.6709 MB / 1.108 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.8218, allocations: 8 kB / 1.108 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.8218, allocations: 10.91 kB / 1.108 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.822, allocations: 163.5 kB / 1.108 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.822, allocations: 0 / 1.108 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.822, allocations: 0 / 1.108 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.396e-05/0.8221, allocations: 7.938 kB / 1.108 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.152e-05/0.8221, allocations: 38.3 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.8221, allocations: 0 / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.8221, allocations: 9.938 kB / 1.108 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8222, allocations: 0 / 1.108 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.8223, allocations: 130.3 kB / 1.108 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.818e-05/0.8223, allocations: 20.03 kB / 1.108 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.8224, allocations: 9.703 kB / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.8224, allocations: 0 / 1.108 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.8224, allocations: 33.27 kB / 1.108 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 2.134e-06/0.8224, allocations: 0.5938 kB / 1.108 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001283/0.8226, allocations: 46.34 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.8226, allocations: 55.94 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.8227, allocations: 93.72 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.8227, allocations: 25.7 kB / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.8227, allocations: 80.86 kB / 1.109 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.8228, allocations: 0.5312 kB / 1.109 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.8228, allocations: 0 / 1.109 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.8229, allocations: 319.6 kB / 1.109 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.8229, allocations: 4.688 kB / 1.109 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-06/0.8229, allocations: 1.094 kB / 1.109 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.463e-05/0.8229, allocations: 4 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8229, allocations: 0 / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.131e-05/0.823, allocations: 46.11 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.823, allocations: 4.812 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.823, allocations: 0 / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.8231, allocations: 1.172 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.908e-05/0.8231, allocations: 15.3 kB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.8231, allocations: 0 / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.8232, allocations: 4.5 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.8232, allocations: 0.625 kB / 1.109 GB, free: 10.75 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 7.083e-05/0.8233, allocations: 106.3 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.8233, allocations: 4 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.8233, allocations: 7.141 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8233, allocations: 2.188 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.8233, allocations: 0.5938 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.8233, allocations: 0 / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.209e-05/0.8234, allocations: 138.7 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.8234, allocations: 0 / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.8235, allocations: 4.781 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.8235, allocations: 0.5312 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.8235, allocations: 0.5 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8235, allocations: 4.594 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8235, allocations: 0 / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.591e-05/0.8236, allocations: 67.66 kB / 1.109 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001711/0.8238, allocations: 448.9 kB / 1.11 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.8238, allocations: 81.2 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.8238, allocations: 4 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.449e-05/0.8239, allocations: 4 kB / 1.11 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.8239, allocations: 3.984 kB / 1.11 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.8239, allocations: 0 / 1.11 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.663e-05/0.824, allocations: 83.28 kB / 1.11 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007104/0.8247, allocations: 4 kB / 1.11 GB, free: 9.719 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 (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 0.0001112/0.8248, allocations: 95.25 kB / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.425e-05/0.8248, allocations: 8 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.8249, allocations: 9.344 kB / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.8249, allocations: 4 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.397e-05/0.825, allocations: 7.891 kB / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000183/0.8252, allocations: 47.94 kB / 1.11 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.8255, allocations: 0.694 MB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.8255, allocations: 3.938 kB / 1.111 GB, free: 8.793 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)