Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.26/1.26, allocations: 249.4 MB / 256.7 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 181.3 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.178/1.178, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008504/0.0008505, allocations: 96.95 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3329/0.3338, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.4977, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4511/0.9488, allocations: 131.6 MB / 1.013 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.9491, allocations: 74.64 kB / 1.013 GB, free: 6.805 MB / 0.6355 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.001781/0.9509, allocations: 0.6855 MB / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.951, allocations: 8 kB / 1.014 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.951, allocations: 2.5 kB / 1.014 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.9511, allocations: 174.9 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.9512, allocations: 0 / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.9512, allocations: 0.8438 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.292e-05/0.9512, allocations: 15.56 kB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.639e-05/0.9513, allocations: 25.7 kB / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.9513, allocations: 0 / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.9513, allocations: 4 kB / 1.014 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.9513, allocations: 0 / 1.014 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.9515, allocations: 129.7 kB / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.495e-05/0.9516, allocations: 18.61 kB / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/0.9516, allocations: 19.81 kB / 1.014 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.9516, allocations: 11.98 kB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.9516, allocations: 30.56 kB / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.9516, allocations: 0 / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000131/0.9518, allocations: 37.52 kB / 1.014 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.9518, allocations: 51.41 kB / 1.014 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.9519, allocations: 93 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.9519, allocations: 29.69 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.952, allocations: 90.34 kB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.952, allocations: 3.906 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.952, allocations: 0 / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.9521, allocations: 310.8 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.9521, allocations: 7.438 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-06/0.9521, allocations: 0 / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.517e-05/0.9521, allocations: 4 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.9521, allocations: 0 / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.969e-05/0.9522, allocations: 45 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.9522, allocations: 7.938 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.9522, allocations: 0 / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.9523, allocations: 3.984 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.9523, allocations: 7.938 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.9523, allocations: 3.906 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/0.9524, allocations: 7.984 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.9524, allocations: 3.984 kB / 1.015 GB, free: 4.898 MB / 0.6355 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 5.754e-05/0.9525, allocations: 105 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.9525, allocations: 4 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.9525, allocations: 11.02 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.9525, allocations: 0 / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.9525, allocations: 0 / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.9525, allocations: 0 / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.846e-05/0.9526, allocations: 133.5 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.9526, allocations: 0 / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.9527, allocations: 7.984 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.9527, allocations: 7.938 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.9527, allocations: 0 / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.9527, allocations: 0 / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9527, allocations: 0 / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.358e-05/0.9528, allocations: 64.73 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001778/0.953, allocations: 450.9 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.953, allocations: 81.11 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.953, allocations: 3.984 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.6e-05/0.9531, allocations: 4 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.9531, allocations: 3.906 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-06/0.9531, allocations: 3.938 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.976e-05/0.9531, allocations: 79.28 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001204/0.9544, allocations: 8.031 kB / 1.016 GB, free: 3.867 MB / 0.6355 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.0001258/0.9545, allocations: 102.5 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.227e-05/0.9545, allocations: 4 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.9545, allocations: 0 / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.611e-05/0.9546, allocations: 11.06 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.545e-05/0.9547, allocations: 0 / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001754/0.9548, allocations: 55.48 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.9551, allocations: 0.688 MB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.9551, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine_fmu --startTime=0 --stopTime=130 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)