Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_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.39/1.39, 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.0009381/0.0009381, allocations: 185.2 kB / 366.3 MB, free: 1.977 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.05/1.05, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0007812/0.0007811, allocations: 94 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2022/0.203, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4964/0.6994, allocations: 116.3 MB / 0.9727 GB, free: 68.07 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.847, allocations: 137.7 MB / 1.107 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.8473, allocations: 63.95 kB / 1.107 GB, free: 10.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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.002885/0.8502, allocations: 1.201 MB / 1.108 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.8502, allocations: 8.531 kB / 1.108 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.8503, allocations: 14.56 kB / 1.108 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.8504, allocations: 182.8 kB / 1.109 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.8504, allocations: 4.5 kB / 1.109 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.8504, allocations: 4 kB / 1.109 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.758e-05/0.8505, allocations: 32 kB / 1.109 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.8507, allocations: 80.5 kB / 1.109 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.8507, allocations: 0 / 1.109 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.8507, allocations: 4 kB / 1.109 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.8507, allocations: 0.625 kB / 1.109 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.8512, allocations: 425.1 kB / 1.109 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.567e-05/0.8512, allocations: 37.81 kB / 1.109 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.8513, allocations: 13.84 kB / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.8513, allocations: 0 / 1.109 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.8513, allocations: 38.59 kB / 1.109 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.8513, allocations: 0 / 1.109 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001618/0.8515, allocations: 49.59 kB / 1.109 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.8515, allocations: 77.11 kB / 1.109 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.8516, allocations: 124.6 kB / 1.109 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.8517, allocations: 25.7 kB / 1.109 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.8517, allocations: 112 kB / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-06/0.8517, allocations: 7.906 kB / 1.11 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.8517, allocations: 4.062 kB / 1.11 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.8518, allocations: 317.4 kB / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.8518, allocations: 11.94 kB / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.8519, allocations: 21.72 kB / 1.11 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.228e-05/0.8519, allocations: 8 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8519, allocations: 0 / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.852e-05/0.852, allocations: 54.38 kB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.852, allocations: 12.06 kB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.852, allocations: 4.5 kB / 1.11 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.852, allocations: 0 / 1.11 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.8521, allocations: 7.938 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.8521, allocations: 4 kB / 1.11 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.8522, allocations: 8.781 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.8522, allocations: 0.75 kB / 1.11 GB, free: 7.617 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.656e-05/0.8522, allocations: 101 kB / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.8523, allocations: 7.906 kB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.8523, allocations: 19.67 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.8523, allocations: 3.984 kB / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8524, allocations: 0 / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8524, allocations: 0 / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.8527, allocations: 455.3 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8527, allocations: 0.625 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.8527, allocations: 4.562 kB / 1.111 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.8527, allocations: 4.062 kB / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.8527, allocations: 0 / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8528, allocations: 0.6875 kB / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8528, allocations: 2.422 kB / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.753e-05/0.8529, allocations: 91.45 kB / 1.111 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001617/0.853, allocations: 473.5 kB / 1.111 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.8531, allocations: 85.02 kB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.8531, allocations: 4.875 kB / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.8531, allocations: 0 / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.8531, allocations: 7.938 kB / 1.111 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.8532, allocations: 3.984 kB / 1.111 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.563e-05/0.8532, allocations: 101.8 kB / 1.111 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007723/0.854, allocations: 11.91 kB / 1.111 GB, free: 6.141 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 9.175e-05/0.8541, allocations: 99.25 kB / 1.111 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.34e-05/0.8542, allocations: 19.92 kB / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8542, allocations: 0 / 1.111 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.35e-05/0.8542, allocations: 12.12 kB / 1.111 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.954e-05/0.8543, allocations: 5.203 kB / 1.111 GB, free: 6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.8545, allocations: 116.2 kB / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.8548, allocations: 0.7075 MB / 1.112 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.8548, allocations: 0 / 1.112 GB, free: 5.125 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1)