Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.319/1.319, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009987/0.0009987, allocations: 185.2 kB / 361.1 MB, free: 7.098 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.007/1.007, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007884/0.0007884, allocations: 93.28 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/6.993e-06, allocations: 4 kB / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4009, allocations: 115.3 MB / 0.9637 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5557, allocations: 166.2 MB / 1.126 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.556, allocations: 96.55 kB / 1.126 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.0438/0.5998, allocations: 17.63 MB / 1.143 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.5998, allocations: 4 kB / 1.143 GB, free: 3.984 MB / 0.7448 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.0007789/0.6006, allocations: 0.5332 MB / 1.144 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.6007, allocations: 9.656 kB / 1.144 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008401/0.6015, allocations: 95.59 kB / 1.144 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.6018, allocations: 260.6 kB / 1.144 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.6019, allocations: 4 kB / 1.144 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.6019, allocations: 12 kB / 1.144 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004699/0.6024, allocations: 277.5 kB / 1.144 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.6029, allocations: 337.1 kB / 1.145 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6029, allocations: 0 / 1.145 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.6029, allocations: 0 / 1.145 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.603, allocations: 31.98 kB / 1.145 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.6049, allocations: 1.683 MB / 1.146 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.6052, allocations: 281.1 kB / 1.147 GB, free: 228 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.6055, allocations: 167.9 kB / 1.147 GB, free: 56 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.6056, allocations: 93.89 kB / 1.147 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6057, allocations: 38.56 kB / 1.147 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.6057, allocations: 0 / 1.147 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.002952/0.6086, allocations: 1.094 MB / 1.148 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.6087, allocations: 85.11 kB / 1.148 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.6088, allocations: 155.7 kB / 1.148 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.6089, allocations: 25.7 kB / 1.148 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.6089, allocations: 140.3 kB / 1.148 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/0.609, allocations: 115.1 kB / 1.149 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.609, allocations: 0 / 1.149 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6092, allocations: 334.8 kB / 1.149 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.6095, allocations: 219.9 kB / 1.149 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.6098, allocations: 309.2 kB / 1.149 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/0.6105, allocations: 302.1 kB / 1.15 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6105, allocations: 4 kB / 1.15 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001187/0.6117, allocations: 0.6219 MB / 1.15 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002932/0.612, allocations: 0.8731 MB / 1.151 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.612, allocations: 5.125 kB / 1.151 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.612, allocations: 4 kB / 1.151 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.613, allocations: 151.8 kB / 1.151 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.613, allocations: 7.984 kB / 1.151 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.6134, allocations: 39.97 kB / 1.151 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.6135, allocations: 15.98 kB / 1.151 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.563e-06/0.6135, allocations: 4 kB / 1.151 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000903/0.6144, allocations: 459.5 kB / 1.152 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6144, allocations: 4 kB / 1.152 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.014e-06/0.6144, allocations: 8.281 kB / 1.152 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/0.6152, allocations: 129.2 kB / 1.152 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.6152, allocations: 7.984 kB / 1.152 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.6155, allocations: 33.47 kB / 1.152 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.6155, allocations: 19.94 kB / 1.152 GB, free: 10.63 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.0001189/0.6157, allocations: 108.8 kB / 1.152 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.6158, allocations: 23.72 kB / 1.152 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.617, allocations: 0.6474 MB / 1.153 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.617, allocations: 8 kB / 1.153 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.617, allocations: 3.906 kB / 1.153 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6171, allocations: 0 / 1.153 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.619, allocations: 1.29 MB / 1.154 GB, free: 8.457 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.619, allocations: 2.188 kB / 1.154 GB, free: 8.457 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006793/0.6197, allocations: 128.1 kB / 1.154 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.6197, allocations: 4 kB / 1.154 GB, free: 8.328 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.6198, allocations: 4.922 kB / 1.154 GB, free: 8.324 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.6198, allocations: 11.88 kB / 1.154 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6198, allocations: 4 kB / 1.154 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000907/0.6207, allocations: 0.7745 MB / 1.155 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.6209, allocations: 144.8 kB / 1.155 GB, free: 7.285 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.6209, allocations: 0 / 1.155 GB, free: 7.285 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.6213, allocations: 35.97 kB / 1.155 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.6214, allocations: 23.95 kB / 1.155 GB, free: 7.227 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.6214, allocations: 20 kB / 1.155 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.961e-05/0.6215, allocations: 134.4 kB / 1.155 GB, free: 7.078 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000622/0.6221, allocations: 141.6 kB / 1.155 GB, free: 6.941 MB / 0.7605 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.0002217/0.6224, allocations: 150.8 kB / 1.156 GB, free: 6.785 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009717/0.6233, allocations: 0.7276 MB / 1.156 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6234, allocations: 0 / 1.156 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.6237, allocations: 228 kB / 1.156 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.624, allocations: 38.75 kB / 1.157 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.6251, allocations: 0.5822 MB / 1.157 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.6256, allocations: 0.8355 MB / 1.158 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of SimCode: time 2.9e-07/0.6256, allocations: 0 / 1.158 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of Templates: time 0.01023/0.6359, allocations: 6.579 MB / 1.164 GB, free: 13.84 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)