Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",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.1/package.mo): time 2.415/2.415, allocations: 248.6 MB / 255.9 MB, free: 7.082 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.001553/0.001553, allocations: 183.9 kB / 315.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.1 MB / 0.5658 GB, free: 296 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001834/0.001834, allocations: 91 kB / 0.67 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.6006/0.6025, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.8283, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6925/1.521, allocations: 131.4 MB / 1.012 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.521, allocations: 70.47 kB / 1.012 GB, free: 8.73 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.004471/1.526, allocations: 1.204 MB / 1.013 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.526, allocations: 15.94 kB / 1.013 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/1.526, allocations: 7.906 kB / 1.013 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/1.526, allocations: 178.9 kB / 1.013 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/1.526, allocations: 7.938 kB / 1.013 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/1.526, allocations: 4 kB / 1.013 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001578/1.526, allocations: 38.03 kB / 1.013 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/1.526, allocations: 77.16 kB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.526, allocations: 0 / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/1.527, allocations: 4.672 kB / 1.013 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/1.527, allocations: 8 kB / 1.013 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/1.527, allocations: 418 kB / 1.014 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.78e-05/1.527, allocations: 37.09 kB / 1.014 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/1.527, allocations: 13.84 kB / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/1.527, allocations: 0 / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/1.527, allocations: 38.16 kB / 1.014 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.736e-06/1.527, allocations: 8 kB / 1.014 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002004/1.528, allocations: 47.91 kB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/1.528, allocations: 77.11 kB / 1.014 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/1.528, allocations: 126 kB / 1.014 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/1.528, allocations: 29.7 kB / 1.014 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/1.528, allocations: 104 kB / 1.014 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.587e-06/1.528, allocations: 3.906 kB / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/1.528, allocations: 0 / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.528, allocations: 326.4 kB / 1.015 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.403e-05/1.528, allocations: 13.88 kB / 1.015 GB, free: 6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/1.528, allocations: 17.28 kB / 1.015 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/1.528, allocations: 7.062 kB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.528, allocations: 0 / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001324/1.528, allocations: 57.28 kB / 1.015 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.528, allocations: 8.062 kB / 1.015 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.529, allocations: 8 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.529, allocations: 0 / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.529, allocations: 11.84 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.529, allocations: 4.781 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/1.529, allocations: 3.938 kB / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/1.529, allocations: 0 / 1.015 GB, free: 5.887 MB / 0.6355 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 7.885e-05/1.529, allocations: 105 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/1.529, allocations: 3.906 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/1.529, allocations: 18.84 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.529, allocations: 4 kB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.529, allocations: 224 / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.529, allocations: 7.906 kB / 1.015 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/1.53, allocations: 452.6 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.53, allocations: 0 / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/1.53, allocations: 7.906 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/1.53, allocations: 0 / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/1.53, allocations: 4.062 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.53, allocations: 0 / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.53, allocations: 0 / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001241/1.53, allocations: 86.42 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003018/1.53, allocations: 479.4 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.726e-05/1.53, allocations: 88.08 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/1.53, allocations: 0 / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/1.53, allocations: 0 / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/1.53, allocations: 3.984 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/1.53, allocations: 4.031 kB / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.456e-05/1.53, allocations: 98.16 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001127/1.532, allocations: 11.91 kB / 1.016 GB, free: 4.449 MB / 0.6355 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.0001348/1.532, allocations: 95.25 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001099/1.532, allocations: 26.05 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.532, allocations: 0 / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.237e-05/1.532, allocations: 6.812 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/1.532, allocations: 6.906 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/1.532, allocations: 122.9 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/1.533, allocations: 0.7075 MB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/1.533, allocations: 0 / 1.017 GB, free: 3.445 MB / 0.6355 GB