Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.373/1.373, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.0009806/0.0009806, allocations: 177.3 kB / 366.3 MB, free: 1.98 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.07/1.07, allocations: 205.1 MB / 0.6256 GB, free: 7.445 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.0007999/0.0007999, allocations: 92.48 kB / 0.7396 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2124/0.2133, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4792/0.6925, allocations: 116.3 MB / 0.9727 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.8355, allocations: 137.7 MB / 1.107 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.8357, allocations: 63.97 kB / 1.107 GB, free: 12.66 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.002797/0.8385, allocations: 1.203 MB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.8386, allocations: 8 kB / 1.108 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.8386, allocations: 12.31 kB / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.8388, allocations: 179.9 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.8388, allocations: 4 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.8388, allocations: 4 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.88e-05/0.8389, allocations: 34.59 kB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.839, allocations: 88.05 kB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.839, allocations: 1.312 kB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.8391, allocations: 4.5 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8391, allocations: 4.906 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.8396, allocations: 413.7 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.767e-05/0.8396, allocations: 40.11 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.8397, allocations: 17.88 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.8397, allocations: 4.688 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.8397, allocations: 35.72 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.8397, allocations: 0.7812 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001624/0.8399, allocations: 42.45 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.8399, allocations: 81.05 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.682e-05/0.84, allocations: 125.8 kB / 1.109 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.8401, allocations: 26.52 kB / 1.109 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.8401, allocations: 112 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.8401, allocations: 9.578 kB / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.8401, allocations: 0 / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.8402, allocations: 322 kB / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.8402, allocations: 5.562 kB / 1.11 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.8403, allocations: 17.72 kB / 1.11 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.8403, allocations: 13.64 kB / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.8403, allocations: 0 / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.706e-05/0.8404, allocations: 58.3 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.8404, allocations: 4 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.8404, allocations: 0.7188 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.8404, allocations: 0.6562 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.8405, allocations: 16.45 kB / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.8405, allocations: 1.188 kB / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.8406, allocations: 11.84 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.8406, allocations: 0 / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.213e-05/0.8406, allocations: 106.1 kB / 1.11 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.8407, allocations: 7.906 kB / 1.11 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.8407, allocations: 7.031 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.8407, allocations: 1.438 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8407, allocations: 5.156 kB / 1.11 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.8407, allocations: 0 / 1.11 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.8411, allocations: 456.2 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8411, allocations: 0 / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.8411, allocations: 8.078 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8411, allocations: 3.984 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.8411, allocations: 1.312 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.8411, allocations: 0 / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.8411, allocations: 4 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.599e-05/0.8412, allocations: 95.5 kB / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000157/0.8414, allocations: 464 kB / 1.111 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.8414, allocations: 89 kB / 1.111 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.8415, allocations: 4.062 kB / 1.111 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.193e-05/0.8415, allocations: 0 / 1.111 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.8415, allocations: 3.906 kB / 1.111 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.8415, allocations: 6 kB / 1.111 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.504e-05/0.8416, allocations: 99.27 kB / 1.111 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007651/0.8424, allocations: 15.91 kB / 1.111 GB, free: 8.133 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 8.923e-05/0.8424, allocations: 99.19 kB / 1.111 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.052e-05/0.8425, allocations: 24.06 kB / 1.111 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.8425, allocations: 0 / 1.111 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.8425, allocations: 4 kB / 1.111 GB, free: 8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.939e-05/0.8427, allocations: 4.781 kB / 1.111 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.8429, allocations: 108.3 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.8431, allocations: 0.7154 MB / 1.112 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.8431, allocations: 0 / 1.112 GB, free: 7.121 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)