Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") [: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 8.0.0/package.mo): time 2.161/2.161, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001628/0.001627, allocations: 169.4 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.1 MB / 0.6188 GB, free: 12.47 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 93.06 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/8.015e-06, allocations: 0 / 0.8503 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5444/0.5445, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/0.783, allocations: 164.4 MB / 1.123 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/0.7834, allocations: 92.83 kB / 1.123 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.1083/0.8918, allocations: 27.69 MB / 1.15 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.345e-05/0.8919, allocations: 23.92 kB / 1.15 GB, free: 12.48 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001881/0.8938, allocations: 0.7191 MB / 1.151 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.8938, allocations: 8.031 kB / 1.151 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/0.8958, allocations: 175.1 kB / 1.151 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000761/0.8966, allocations: 361.5 kB / 1.152 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.8966, allocations: 12 kB / 1.152 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.8967, allocations: 31.91 kB / 1.152 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001373/0.8981, allocations: 481.8 kB / 1.152 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.8997, allocations: 0.7195 MB / 1.153 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.8997, allocations: 3.938 kB / 1.153 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.829e-05/0.8998, allocations: 4 kB / 1.153 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.341e-05/0.8999, allocations: 56.61 kB / 1.153 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.9057, allocations: 4.509 MB / 1.157 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.9069, allocations: 437.1 kB / 1.158 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/0.9075, allocations: 253.5 kB / 1.158 GB, free: 4.195 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.9075, allocations: 4.531 kB / 1.158 GB, free: 4.191 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.9076, allocations: 45.27 kB / 1.158 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 3.446e-06/0.9076, allocations: 4 kB / 1.158 GB, free: 4.137 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.00177/0.9094, allocations: 0.6123 MB / 1.159 GB, free: 3.516 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.9094, allocations: 81.11 kB / 1.159 GB, free: 3.418 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.9099, allocations: 281.9 kB / 1.159 GB, free: 3.137 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.9099, allocations: 25.7 kB / 1.159 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.9101, allocations: 270.9 kB / 1.159 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.9103, allocations: 118.3 kB / 1.159 GB, free: 2.719 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.9103, allocations: 0 / 1.159 GB, free: 2.719 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.9105, allocations: 342.9 kB / 1.16 GB, free: 2.375 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/0.9111, allocations: 225.2 kB / 1.16 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007434/0.9119, allocations: 434.5 kB / 1.16 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/0.9126, allocations: 290.7 kB / 1.161 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.9126, allocations: 4 kB / 1.161 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00179/0.9144, allocations: 0.6644 MB / 1.161 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001033/0.9155, allocations: 2.789 MB / 1.164 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.9155, allocations: 4 kB / 1.164 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/0.9155, allocations: 12 kB / 1.164 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.917, allocations: 159.8 kB / 1.164 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.252e-05/0.917, allocations: 23.92 kB / 1.164 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008915/0.9179, allocations: 47.72 kB / 1.164 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/0.918, allocations: 31.98 kB / 1.164 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.9181, allocations: 4.625 kB / 1.164 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001232/0.9193, allocations: 483.7 kB / 1.165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.9193, allocations: 8 kB / 1.165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.9194, allocations: 13.62 kB / 1.165 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.9205, allocations: 152 kB / 1.165 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.9205, allocations: 11.94 kB / 1.165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006095/0.9211, allocations: 43.81 kB / 1.165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.9212, allocations: 34.14 kB / 1.165 GB, free: 12.66 MB / 0.7761 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.0001824/0.9214, allocations: 128.5 kB / 1.165 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.9215, allocations: 39.53 kB / 1.165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.923, allocations: 0.5177 MB / 1.166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.923, allocations: 7.938 kB / 1.166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.923, allocations: 3.984 kB / 1.166 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.9231, allocations: 0 / 1.166 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.9268, allocations: 1.49 MB / 1.167 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.9268, allocations: 4 kB / 1.167 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.928, allocations: 111.8 kB / 1.167 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.928, allocations: 9.938 kB / 1.167 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.9281, allocations: 8 kB / 1.167 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.9281, allocations: 4 kB / 1.167 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.9281, allocations: 4 kB / 1.167 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00152/0.9296, allocations: 0.9147 MB / 1.168 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.9299, allocations: 168.4 kB / 1.168 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.9301, allocations: 8 kB / 1.168 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000753/0.9308, allocations: 39.95 kB / 1.168 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.931, allocations: 31.88 kB / 1.168 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.931, allocations: 12 kB / 1.168 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0003218/0.9313, allocations: 220.6 kB / 1.169 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001202/0.9326, allocations: 180.1 kB / 1.169 GB, free: 8.516 MB / 0.7761 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.0001936/0.9328, allocations: 115.1 kB / 1.169 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001979/0.9348, allocations: 0.8054 MB / 1.17 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.9348, allocations: 4 kB / 1.17 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006764/0.9355, allocations: 245.8 kB / 1.17 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/0.9364, allocations: 93.78 kB / 1.17 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.9388, allocations: 0.8278 MB / 1.171 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009519/0.9398, allocations: 0.9261 MB / 1.172 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.9398, allocations: 0 / 1.172 GB, free: 5.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.02076/0.9606, allocations: 7.68 MB / 1.179 GB, free: 13.85 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)