Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") [: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.1.4-maint.8.1.x/package.mo): time 1.32/1.32, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.0009536/0.0009536, allocations: 177.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.039/1.039, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007375/0.0007374, allocations: 90.3 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.712e-06/6.793e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4235, allocations: 116.3 MB / 0.9726 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.5815, allocations: 167.2 MB / 1.136 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.5817, allocations: 92.44 kB / 1.136 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.03941/0.6211, allocations: 17.63 MB / 1.153 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.6211, allocations: 4 kB / 1.153 GB, free: 11.4 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006824/0.6218, allocations: 0.5371 MB / 1.154 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.6218, allocations: 8.031 kB / 1.154 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007642/0.6226, allocations: 99.59 kB / 1.154 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.6229, allocations: 260.4 kB / 1.154 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.623, allocations: 4 kB / 1.154 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.623, allocations: 16 kB / 1.154 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004116/0.6234, allocations: 264.8 kB / 1.154 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.6239, allocations: 337.1 kB / 1.155 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6239, allocations: 0 / 1.155 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.6239, allocations: 4 kB / 1.155 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/0.624, allocations: 31.77 kB / 1.155 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.6257, allocations: 1.68 MB / 1.156 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.6261, allocations: 285 kB / 1.157 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.6263, allocations: 165.7 kB / 1.157 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.6265, allocations: 89.09 kB / 1.157 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6265, allocations: 38.56 kB / 1.157 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.6265, allocations: 0 / 1.157 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.002831/0.6293, allocations: 1.095 MB / 1.158 GB, free: 6.211 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.6294, allocations: 85.11 kB / 1.158 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.6295, allocations: 158.9 kB / 1.158 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.6296, allocations: 33.62 kB / 1.158 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.6296, allocations: 140.3 kB / 1.158 GB, free: 5.77 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/0.6297, allocations: 114.3 kB / 1.158 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.6298, allocations: 3.938 kB / 1.158 GB, free: 5.652 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.6299, allocations: 330.8 kB / 1.159 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.6302, allocations: 219.9 kB / 1.159 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.6305, allocations: 301.3 kB / 1.159 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005928/0.6311, allocations: 306 kB / 1.16 GB, free: 4.48 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6311, allocations: 0 / 1.16 GB, free: 4.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001047/0.6322, allocations: 0.618 MB / 1.16 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.6324, allocations: 0.8731 MB / 1.161 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6324, allocations: 7.938 kB / 1.161 GB, free: 2.906 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.6325, allocations: 4 kB / 1.161 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009468/0.6334, allocations: 155.8 kB / 1.161 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.6334, allocations: 4 kB / 1.161 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.6338, allocations: 39.95 kB / 1.161 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.6338, allocations: 12 kB / 1.161 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-06/0.6339, allocations: 7.938 kB / 1.161 GB, free: 2.688 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000832/0.6347, allocations: 463.5 kB / 1.162 GB, free: 2.234 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.6347, allocations: 4.281 kB / 1.162 GB, free: 2.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.6347, allocations: 8 kB / 1.162 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.6354, allocations: 131.8 kB / 1.162 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6354, allocations: 7.938 kB / 1.162 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.6357, allocations: 31.97 kB / 1.162 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.6358, allocations: 16 kB / 1.162 GB, free: 2.039 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001028/0.6359, allocations: 112.8 kB / 1.162 GB, free: 1.922 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.6359, allocations: 19.72 kB / 1.162 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.6371, allocations: 0.6519 MB / 1.163 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6371, allocations: 8 kB / 1.163 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6371, allocations: 7.844 kB / 1.163 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.6371, allocations: 3.984 kB / 1.163 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.6389, allocations: 1.278 MB / 1.164 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.639, allocations: 4 kB / 1.164 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006294/0.6396, allocations: 132.1 kB / 1.164 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6396, allocations: 11.88 kB / 1.164 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.6396, allocations: 4 kB / 1.164 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6396, allocations: 4 kB / 1.164 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6396, allocations: 0 / 1.164 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008404/0.6405, allocations: 0.7789 MB / 1.165 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.6406, allocations: 144.8 kB / 1.165 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.6407, allocations: 8 kB / 1.165 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.6411, allocations: 31.95 kB / 1.165 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.6411, allocations: 23.97 kB / 1.165 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.6412, allocations: 12 kB / 1.165 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.21e-05/0.6413, allocations: 143 kB / 1.165 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005547/0.6418, allocations: 139.9 kB / 1.165 GB, free: 14.33 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (37): * Single equations (assignments): 37 * 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.0001872/0.642, allocations: 139 kB / 1.165 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009099/0.6429, allocations: 0.7234 MB / 1.166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.643, allocations: 320 / 1.166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.6432, allocations: 232 kB / 1.166 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.6436, allocations: 40.94 kB / 1.166 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.6446, allocations: 0.5777 MB / 1.167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/0.6451, allocations: 0.8355 MB / 1.168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of SimCode: time 2.4e-07/0.6451, allocations: 4 kB / 1.168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.009829/0.6549, allocations: 6.576 MB / 1.174 GB, free: 5.184 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)