Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.0/package.mo): time 2.19/2.19, allocations: 284.8 MB / 292.1 MB, free: 9.848 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.001616/0.001616, allocations: 178.9 kB / 360.3 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.1 MB / 0.6187 GB, free: 3.332 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.001264/0.001263, allocations: 89.64 kB / 0.7317 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5069/0.5082, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.7061, allocations: 115.2 MB / 0.9628 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2214/0.9276, allocations: 136.6 MB / 1.096 GB, free: 212 kB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.9279, allocations: 63.97 kB / 1.096 GB, free: 148 kB / 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.3654/1.293, allocations: 1.194 MB / 1.097 GB, free: 140.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.293, allocations: 9.25 kB / 1.097 GB, free: 140.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/1.294, allocations: 13.66 kB / 1.097 GB, free: 140.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/1.294, allocations: 184.3 kB / 1.098 GB, free: 140 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/1.294, allocations: 3.094 kB / 1.098 GB, free: 140 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/1.294, allocations: 3.906 kB / 1.098 GB, free: 140 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000163/1.294, allocations: 33.34 kB / 1.098 GB, free: 140 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/1.294, allocations: 90.28 kB / 1.098 GB, free: 140 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.294, allocations: 3.656 kB / 1.098 GB, free: 140 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.294, allocations: 5.656 kB / 1.098 GB, free: 139.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.294, allocations: 2.75 kB / 1.098 GB, free: 139.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/1.295, allocations: 412.6 kB / 1.098 GB, free: 139.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.541e-05/1.295, allocations: 40.72 kB / 1.098 GB, free: 139.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/1.295, allocations: 14.81 kB / 1.098 GB, free: 139.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/1.295, allocations: 5 kB / 1.098 GB, free: 139.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/1.295, allocations: 33.28 kB / 1.098 GB, free: 139.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/1.295, allocations: 0 / 1.098 GB, free: 139.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002074/1.295, allocations: 48.34 kB / 1.098 GB, free: 139.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/1.295, allocations: 78.92 kB / 1.098 GB, free: 139.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/1.295, allocations: 124.3 kB / 1.098 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/1.295, allocations: 30.83 kB / 1.098 GB, free: 139.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/1.295, allocations: 109.7 kB / 1.099 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.002e-05/1.295, allocations: 7.234 kB / 1.099 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/1.295, allocations: 1.125 kB / 1.099 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/1.296, allocations: 316.5 kB / 1.099 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/1.296, allocations: 9.422 kB / 1.099 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/1.296, allocations: 19.61 kB / 1.099 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/1.296, allocations: 13.31 kB / 1.099 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.296, allocations: 0 / 1.099 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001256/1.296, allocations: 59.88 kB / 1.099 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.296, allocations: 4.031 kB / 1.099 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.296, allocations: 1.875 kB / 1.099 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/1.296, allocations: 1.312 kB / 1.099 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/1.296, allocations: 6.125 kB / 1.099 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/1.296, allocations: 1.438 kB / 1.099 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/1.296, allocations: 5.359 kB / 1.099 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/1.296, allocations: 6.594 kB / 1.099 GB, free: 138.8 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 4.98e-05/1.296, allocations: 107.5 kB / 1.099 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/1.296, allocations: 8.328 kB / 1.099 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/1.296, allocations: 10.97 kB / 1.099 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/1.296, allocations: 1.062 kB / 1.099 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.296, allocations: 0 / 1.099 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/1.296, allocations: 4.656 kB / 1.099 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/1.297, allocations: 458 kB / 1.1 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.297, allocations: 0 / 1.1 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/1.297, allocations: 4.984 kB / 1.1 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.297, allocations: 0 / 1.1 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/1.297, allocations: 1.375 kB / 1.1 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.297, allocations: 0.7031 kB / 1.1 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.297, allocations: 1.531 kB / 1.1 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001031/1.297, allocations: 96.59 kB / 1.1 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001451/1.297, allocations: 464.2 kB / 1.1 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/1.297, allocations: 91.44 kB / 1.1 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/1.297, allocations: 2.156 kB / 1.1 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/1.297, allocations: 0 / 1.1 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/1.297, allocations: 2.453 kB / 1.1 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/1.297, allocations: 5.578 kB / 1.1 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.072e-05/1.297, allocations: 102.1 kB / 1.1 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001057/1.298, allocations: 13.03 kB / 1.1 GB, free: 137.5 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 0.000115/1.299, allocations: 99.78 kB / 1.1 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001029/1.299, allocations: 21.02 kB / 1.1 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.299, allocations: 0 / 1.1 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.383e-05/1.299, allocations: 5.688 kB / 1.1 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/1.299, allocations: 13.7 kB / 1.1 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/1.299, allocations: 105.4 kB / 1.101 GB, free: 137.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/1.299, allocations: 0.7135 MB / 1.101 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/1.3, allocations: 3.938 kB / 1.101 GB, free: 136.6 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)