Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.446/2.446, allocations: 248.6 MB / 255.9 MB, free: 7.102 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.001783/0.001783, allocations: 195.5 kB / 315.1 MB, free: 4.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.1 MB / 0.5658 GB, free: 264 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.001301/0.0013, allocations: 79.41 kB / 0.67 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4725/0.4739, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.6992, allocations: 106.3 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7652/1.465, allocations: 175.7 MB / 1.055 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003676/1.465, allocations: 94.56 kB / 1.055 GB, free: 14.66 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.1362/1.601, allocations: 28.83 MB / 1.083 GB, free: 6.668 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.183e-05/1.601, allocations: 12 kB / 1.083 GB, free: 6.656 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007378/1.609, allocations: 433.3 kB / 1.084 GB, free: 6.238 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/1.61, allocations: 476.2 kB / 1.084 GB, free: 5.809 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/1.61, allocations: 8 kB / 1.084 GB, free: 5.801 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/1.611, allocations: 20 kB / 1.084 GB, free: 5.781 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001449/1.612, allocations: 485.4 kB / 1.085 GB, free: 5.457 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/1.614, allocations: 0.5643 MB / 1.085 GB, free: 4.996 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/1.614, allocations: 0 / 1.085 GB, free: 4.996 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.677e-05/1.614, allocations: 0 / 1.085 GB, free: 4.996 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.694e-05/1.614, allocations: 24.58 kB / 1.085 GB, free: 4.977 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00696/1.621, allocations: 2.749 MB / 1.088 GB, free: 2.391 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/1.622, allocations: 321.1 kB / 1.088 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/1.622, allocations: 173.3 kB / 1.088 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/1.623, allocations: 85.09 kB / 1.088 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/1.623, allocations: 37.94 kB / 1.088 GB, free: 1.887 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.255e-06/1.623, allocations: 0 / 1.088 GB, free: 1.887 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.008361/1.631, allocations: 1.479 MB / 1.09 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/1.631, allocations: 77.11 kB / 1.09 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/1.632, allocations: 336 kB / 1.09 GB, free: 344 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/1.632, allocations: 25.7 kB / 1.09 GB, free: 312 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/1.632, allocations: 207 kB / 1.091 GB, free: 120 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/1.632, allocations: 77 kB / 1.091 GB, free: 52 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/1.632, allocations: 4 kB / 1.091 GB, free: 48 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002295/1.633, allocations: 347.9 kB / 1.091 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/1.633, allocations: 246.5 kB / 1.091 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007178/1.634, allocations: 329.6 kB / 1.092 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/1.635, allocations: 296.8 kB / 1.092 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/1.635, allocations: 4 kB / 1.092 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005565/1.641, allocations: 1.019 MB / 1.093 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005947/1.641, allocations: 0.7843 MB / 1.094 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/1.641, allocations: 11.98 kB / 1.094 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005162/1.647, allocations: 407.5 kB / 1.094 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/1.648, allocations: 115.3 kB / 1.094 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009604/1.658, allocations: 2.949 MB / 1.097 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/1.661, allocations: 79.97 kB / 1.097 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/1.661, allocations: 15.98 kB / 1.097 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.661, allocations: 4 kB / 1.097 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00191/1.663, allocations: 485.5 kB / 1.098 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.663, allocations: 12.16 kB / 1.098 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.663, allocations: 4 kB / 1.098 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/1.664, allocations: 123.8 kB / 1.098 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.664, allocations: 11.98 kB / 1.098 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.666, allocations: 63.92 kB / 1.098 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/1.666, allocations: 23.23 kB / 1.098 GB, free: 9.586 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003256/1.666, allocations: 116 kB / 1.098 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/1.666, allocations: 31.62 kB / 1.098 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009644/1.676, allocations: 1.068 MB / 1.099 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/1.676, allocations: 4 kB / 1.099 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.676, allocations: 4 kB / 1.099 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/1.676, allocations: 0 / 1.099 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008899/1.685, allocations: 1.68 MB / 1.101 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.685, allocations: 0 / 1.101 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/1.686, allocations: 79.92 kB / 1.101 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004878/1.691, allocations: 0.5609 MB / 1.101 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.303e-05/1.691, allocations: 0 / 1.101 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/1.703, allocations: 4.049 MB / 1.105 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/1.703, allocations: 3.938 kB / 1.105 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007171/1.71, allocations: 1.113 MB / 1.106 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005761/1.716, allocations: 1.495 MB / 1.108 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004848/1.717, allocations: 163.2 kB / 1.108 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/1.717, allocations: 0 / 1.108 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.718, allocations: 83.89 kB / 1.108 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.718, allocations: 23.75 kB / 1.108 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/1.718, allocations: 4 kB / 1.108 GB, free: 228 kB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0005577/1.719, allocations: 273 kB / 1.108 GB, free: 20 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003016/1.722, allocations: 202.5 kB / 1.108 GB, free: 15.84 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004562/1.722, allocations: 166.7 kB / 1.109 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003066/1.726, allocations: 0.9673 MB / 1.11 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.726, allocations: 4 kB / 1.11 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/1.727, allocations: 0.5379 MB / 1.11 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009863/1.728, allocations: 95.72 kB / 1.11 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/1.731, allocations: 0.7669 MB / 1.111 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.732, allocations: 0.9514 MB / 1.112 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of SimCode: time 1.353e-06/1.732, allocations: 0 / 1.112 GB, free: 12.79 MB / 0.7292 GB