Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.256/2.256, allocations: 253.1 MB / 260.4 MB, free: 7.555 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 185.2 kB / 319.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 0.5704 GB, free: 15.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002051/0.002051, allocations: 109 kB / 0.6746 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.628e-06/9.839e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2173, allocations: 106.3 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7819/0.9993, allocations: 174.8 MB / 1.059 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/0.9998, allocations: 99.09 kB / 1.059 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.7486/1.748, allocations: 158.1 MB / 1.213 GB, free: 8.363 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004297/1.749, allocations: 99.92 kB / 1.213 GB, free: 8.266 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.02209/1.771, allocations: 3.39 MB / 1.217 GB, free: 4.812 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/1.771, allocations: 12.03 kB / 1.217 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/1.782, allocations: 0.8965 MB / 1.218 GB, free: 3.898 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008546/1.791, allocations: 2.303 MB / 1.22 GB, free: 1.551 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/1.791, allocations: 136 kB / 1.22 GB, free: 1.418 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/1.793, allocations: 251.9 kB / 1.22 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01979/1.813, allocations: 4.774 MB / 1.225 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03052/1.843, allocations: 6.136 MB / 1.231 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001994/1.843, allocations: 11.92 kB / 1.231 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001115/1.845, allocations: 11.91 kB / 1.231 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000547/1.845, allocations: 267 kB / 1.231 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.388/2.233, allocations: 31.11 MB / 1.261 GB, free: 309.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/2.237, allocations: 1.653 MB / 1.263 GB, free: 309.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/2.239, allocations: 1.132 MB / 1.264 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/2.24, allocations: 103.3 kB / 1.264 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/2.24, allocations: 43.94 kB / 1.264 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=86): time 4.709e-06/2.24, allocations: 3.125 kB / 1.264 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89): time 0.01003/2.25, allocations: 4.12 MB / 1.268 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/2.25, allocations: 143.3 kB / 1.269 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/2.253, allocations: 1.324 MB / 1.27 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003078/2.253, allocations: 29.48 kB / 1.27 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001142/2.255, allocations: 1.789 MB / 1.272 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005254/2.255, allocations: 323 kB / 1.272 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/2.255, allocations: 0 / 1.272 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001671/2.256, allocations: 390.5 kB / 1.272 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/2.258, allocations: 1.102 MB / 1.273 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/2.261, allocations: 2.151 MB / 1.275 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004242/2.265, allocations: 1.665 MB / 1.277 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.885e-05/2.265, allocations: 11.28 kB / 1.277 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008756/2.274, allocations: 3.245 MB / 1.28 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003121/2.277, allocations: 13.39 MB / 1.293 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/2.277, allocations: 35.47 kB / 1.293 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.429e-05/2.278, allocations: 51.84 kB / 1.293 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004701/2.282, allocations: 0.5736 MB / 1.294 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.205e-05/2.282, allocations: 75.75 kB / 1.294 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004311/2.287, allocations: 236.4 kB / 1.294 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004627/2.287, allocations: 115.8 kB / 1.294 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/2.287, allocations: 3.844 kB / 1.294 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006887/2.294, allocations: 2.627 MB / 1.297 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-05/2.294, allocations: 37.45 kB / 1.297 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.27e-05/2.294, allocations: 51.09 kB / 1.297 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003933/2.298, allocations: 0.5334 MB / 1.298 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.927e-05/2.298, allocations: 68.91 kB / 1.298 GB, free: 290.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/2.302, allocations: 158.5 kB / 1.298 GB, free: 290.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004066/2.302, allocations: 119 kB / 1.298 GB, free: 290.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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.0007282/2.303, allocations: 190.1 kB / 1.298 GB, free: 290.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006106/2.303, allocations: 145.7 kB / 1.298 GB, free: 290.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/2.308, allocations: 1.983 MB / 1.3 GB, free: 290.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/2.308, allocations: 11.06 kB / 1.3 GB, free: 290.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/2.308, allocations: 0 / 1.3 GB, free: 290.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/2.308, allocations: 7.109 kB / 1.3 GB, free: 290.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/2.325, allocations: 7.016 MB / 1.307 GB, free: 289.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/2.325, allocations: 9.125 kB / 1.307 GB, free: 289.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/2.328, allocations: 280 kB / 1.307 GB, free: 289.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.657e-05/2.328, allocations: 10.88 kB / 1.307 GB, free: 289.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/2.328, allocations: 14.69 kB / 1.307 GB, free: 289.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.597e-05/2.328, allocations: 14.53 kB / 1.307 GB, free: 289.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/2.328, allocations: 16.06 kB / 1.307 GB, free: 289.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004949/2.333, allocations: 2.804 MB / 1.31 GB, free: 288 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/2.335, allocations: 444.3 kB / 1.31 GB, free: 287.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005451/2.335, allocations: 11.06 kB / 1.311 GB, free: 287.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/2.338, allocations: 92.92 kB / 1.311 GB, free: 287.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/2.338, allocations: 68.88 kB / 1.311 GB, free: 287.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/2.338, allocations: 30.06 kB / 1.311 GB, free: 287.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.002065/2.34, allocations: 0.965 MB / 1.312 GB, free: 287.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007437/2.348, allocations: 1.133 MB / 1.313 GB, free: 287.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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.0004982/2.348, allocations: 132 kB / 1.313 GB, free: 287.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008649/2.357, allocations: 3.78 MB / 1.317 GB, free: 287.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/2.357, allocations: 0 / 1.317 GB, free: 287.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/2.359, allocations: 0.9055 MB / 1.317 GB, free: 287.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/2.362, allocations: 343.7 kB / 1.318 GB, free: 287.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/2.38, allocations: 5.537 MB / 1.323 GB, free: 286.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007225/2.387, allocations: 3.073 MB / 1.326 GB, free: 285.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.824e-06/2.387, allocations: 0 / 1.326 GB, free: 285.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.08709/2.474, allocations: 33.11 MB / 1.359 GB, free: 284.1 MB / 0.8542 GB