Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",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.27/2.27, allocations: 248.6 MB / 255.9 MB, free: 7.516 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001689/0.001689, allocations: 188 kB / 315.1 MB, free: 8.629 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.1 MB / 0.5658 GB, free: 4.137 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001815/0.001815, allocations: 95.25 kB / 0.67 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.5473/0.5492, allocations: 112.4 MB / 0.7797 GB, free: 107.4 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.8032, allocations: 106.2 MB / 0.8835 GB, free: 1.09 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6936/1.497, allocations: 159 MB / 1.039 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.497, allocations: 92.31 kB / 1.039 GB, free: 5.145 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.1248/1.622, allocations: 28.45 MB / 1.067 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.622, allocations: 8 kB / 1.067 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/1.624, allocations: 182.8 kB / 1.067 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/1.625, allocations: 364.9 kB / 1.067 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/1.626, allocations: 16 kB / 1.067 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/1.626, allocations: 24 kB / 1.067 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001457/1.627, allocations: 474.4 kB / 1.068 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/1.629, allocations: 0.7244 MB / 1.068 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/1.629, allocations: 7.938 kB / 1.068 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/1.629, allocations: 4 kB / 1.068 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.975e-05/1.629, allocations: 52.06 kB / 1.068 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006827/1.636, allocations: 4.507 MB / 1.073 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/1.638, allocations: 444.2 kB / 1.073 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009851/1.639, allocations: 255.8 kB / 1.073 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.455e-05/1.639, allocations: 7.562 kB / 1.073 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/1.639, allocations: 33.62 kB / 1.073 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=33): time 6.102e-06/1.639, allocations: 0 / 1.073 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of matching and sorting (n=34): time 0.002982/1.642, allocations: 0.6152 MB / 1.074 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/1.642, allocations: 81.05 kB / 1.074 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007969/1.643, allocations: 284.9 kB / 1.074 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/1.643, allocations: 33.64 kB / 1.074 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/1.644, allocations: 268.1 kB / 1.075 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/1.644, allocations: 116.6 kB / 1.075 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/1.644, allocations: 0 / 1.075 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002336/1.644, allocations: 349.1 kB / 1.075 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008876/1.645, allocations: 218.3 kB / 1.075 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/1.646, allocations: 448 kB / 1.076 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/1.647, allocations: 290.6 kB / 1.076 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.647, allocations: 0 / 1.076 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002748/1.65, allocations: 0.6668 MB / 1.077 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.001839/1.652, allocations: 2.784 MB / 1.079 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.243e-05/1.652, allocations: 11.98 kB / 1.079 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.553e-05/1.652, allocations: 8 kB / 1.079 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00249/1.655, allocations: 161.8 kB / 1.08 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.71e-05/1.655, allocations: 15.94 kB / 1.08 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/1.656, allocations: 55.73 kB / 1.08 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/1.657, allocations: 27.88 kB / 1.08 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.657, allocations: 4 kB / 1.08 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002117/1.659, allocations: 485.4 kB / 1.08 GB, free: 152 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.608e-05/1.659, allocations: 12.95 kB / 1.08 GB, free: 140 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.473e-05/1.659, allocations: 12 kB / 1.08 GB, free: 128 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/1.661, allocations: 146.8 kB / 1.08 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.969e-05/1.661, allocations: 11.98 kB / 1.08 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.662, allocations: 55.66 kB / 1.08 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/1.662, allocations: 27.31 kB / 1.08 GB, free: 15.89 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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 0.0004905/1.663, allocations: 121.3 kB / 1.081 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/1.663, allocations: 39.53 kB / 1.081 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/1.665, allocations: 0.5143 MB / 1.081 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/1.665, allocations: 8 kB / 1.081 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.665, allocations: 0 / 1.081 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/1.665, allocations: 0 / 1.081 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/1.67, allocations: 1.49 MB / 1.083 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/1.67, allocations: 3.984 kB / 1.083 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/1.671, allocations: 108.2 kB / 1.083 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-05/1.671, allocations: 15.77 kB / 1.083 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/1.671, allocations: 7.984 kB / 1.083 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/1.671, allocations: 4 kB / 1.083 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.671, allocations: 4 kB / 1.083 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001588/1.673, allocations: 0.9159 MB / 1.084 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001876/1.675, allocations: 1.295 MB / 1.085 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/1.676, allocations: 163.8 kB / 1.085 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/1.676, allocations: 8 kB / 1.085 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.677, allocations: 43.89 kB / 1.085 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/1.677, allocations: 27.81 kB / 1.085 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/1.677, allocations: 15.94 kB / 1.085 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of sort global known variables: time 0.0005533/1.678, allocations: 218.7 kB / 1.085 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.005235/1.683, allocations: 187.9 kB / 1.085 GB, free: 11.03 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.0004582/1.684, allocations: 115.1 kB / 1.086 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003261/1.687, allocations: 0.817 MB / 1.086 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/1.687, allocations: 0 / 1.086 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.688, allocations: 243.8 kB / 1.087 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/1.69, allocations: 97.19 kB / 1.087 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/1.694, allocations: 0.8164 MB / 1.088 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/1.696, allocations: 0.9265 MB / 1.088 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of SimCode: time 1.854e-06/1.696, allocations: 0 / 1.088 GB, free: 8.328 MB / 0.7012 GB