Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",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.34/2.34, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.001716/0.001715, allocations: 185.2 kB / 315.1 MB, free: 4.273 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.084/2.084, allocations: 205.1 MB / 0.5658 GB, free: 388 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.001303/0.001303, allocations: 93.66 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5234/0.5247, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.7402, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7407/1.481, allocations: 131.5 MB / 1.012 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/1.481, allocations: 66.91 kB / 1.012 GB, free: 8.742 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.004539/1.486, allocations: 1.213 MB / 1.013 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.486, allocations: 8 kB / 1.013 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/1.486, allocations: 7.906 kB / 1.013 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/1.486, allocations: 182.3 kB / 1.013 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/1.486, allocations: 7.938 kB / 1.013 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/1.486, allocations: 4 kB / 1.013 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001478/1.486, allocations: 33.97 kB / 1.013 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/1.487, allocations: 85.83 kB / 1.013 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.487, allocations: 3.984 kB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/1.487, allocations: 0 / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.353e-06/1.487, allocations: 0 / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/1.487, allocations: 421 kB / 1.014 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/1.487, allocations: 33.16 kB / 1.014 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/1.488, allocations: 17.41 kB / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/1.488, allocations: 0 / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/1.488, allocations: 42.58 kB / 1.014 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.905e-06/1.488, allocations: 0 / 1.014 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002047/1.488, allocations: 47.8 kB / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/1.488, allocations: 77.11 kB / 1.014 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/1.488, allocations: 129.4 kB / 1.014 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/1.488, allocations: 29.7 kB / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/1.488, allocations: 107.7 kB / 1.014 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.108e-06/1.488, allocations: 3.906 kB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/1.488, allocations: 0 / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.488, allocations: 322.1 kB / 1.015 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/1.488, allocations: 14.12 kB / 1.015 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/1.488, allocations: 17.34 kB / 1.015 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/1.489, allocations: 7.312 kB / 1.015 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.489, allocations: 4 kB / 1.015 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000133/1.489, allocations: 55.28 kB / 1.015 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.489, allocations: 8 kB / 1.015 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/1.489, allocations: 0 / 1.015 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1.489, allocations: 0 / 1.015 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/1.489, allocations: 11.84 kB / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.489, allocations: 4 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/1.489, allocations: 3.938 kB / 1.015 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/1.489, allocations: 3.984 kB / 1.015 GB, free: 5.898 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 8.469e-05/1.489, allocations: 109 kB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/1.489, allocations: 3.906 kB / 1.015 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.744e-05/1.489, allocations: 14.86 kB / 1.015 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.489, allocations: 3.938 kB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.489, allocations: 224 / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/1.489, allocations: 7.906 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/1.49, allocations: 452.8 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.49, allocations: 4.031 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/1.49, allocations: 7.906 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/1.49, allocations: 0 / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/1.49, allocations: 0 / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.49, allocations: 0 / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.49, allocations: 3.984 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001345/1.49, allocations: 86.75 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002956/1.49, allocations: 475 kB / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/1.491, allocations: 88.39 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/1.491, allocations: 4.047 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.914e-05/1.491, allocations: 4 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/1.491, allocations: 0 / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/1.491, allocations: 4 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.848e-05/1.491, allocations: 95.66 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001116/1.492, allocations: 11.91 kB / 1.016 GB, free: 4.461 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.000156/1.492, allocations: 102.9 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001173/1.492, allocations: 19.5 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.492, allocations: 4.062 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.231e-05/1.492, allocations: 4 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/1.492, allocations: 7.562 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/1.493, allocations: 119 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003908/1.493, allocations: 0.7076 MB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of SimCode: time 7.12e-07/1.493, allocations: 4 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB