Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",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 8.1.4-maint.8.1.x/package.mo): time 1.372/1.372, allocations: 289.8 MB / 297 MB, free: 12.62 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 187.3 kB / 366.3 MB, free: 11.93 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 205.1 MB / 0.6256 GB, free: 2.039 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008062/0.0008062, allocations: 92.58 kB / 0.7395 GB, free: 47.02 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.193/0.1939, allocations: 122.4 MB / 0.8591 GB, free: 7.09 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.6817, allocations: 116.3 MB / 0.9726 GB, free: 81.32 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.8489, allocations: 161.6 MB / 1.13 GB, free: 14.24 MB / 0.7371 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.8492, allocations: 92.95 kB / 1.131 GB, free: 14.15 MB / 0.7371 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.04144/0.8907, allocations: 17.84 MB / 1.148 GB, free: 12.18 MB / 0.7527 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.8907, allocations: 12 kB / 1.148 GB, free: 12.17 MB / 0.7527 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007649/0.8915, allocations: 99.52 kB / 1.148 GB, free: 12.07 MB / 0.7527 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.8919, allocations: 290 kB / 1.148 GB, free: 11.75 MB / 0.7527 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.8919, allocations: 8.5 kB / 1.148 GB, free: 11.74 MB / 0.7527 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.8919, allocations: 16 kB / 1.148 GB, free: 11.72 MB / 0.7527 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000461/0.8924, allocations: 249.9 kB / 1.149 GB, free: 11.48 MB / 0.7527 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.8929, allocations: 357.2 kB / 1.149 GB, free: 11.1 MB / 0.7527 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.8929, allocations: 0 / 1.149 GB, free: 11.1 MB / 0.7527 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.8929, allocations: 0 / 1.149 GB, free: 11.1 MB / 0.7527 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-05/0.893, allocations: 20.92 kB / 1.149 GB, free: 11.08 MB / 0.7527 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.8948, allocations: 1.615 MB / 1.151 GB, free: 9.348 MB / 0.7527 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.8953, allocations: 336.7 kB / 1.151 GB, free: 9 MB / 0.7527 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.8955, allocations: 165.7 kB / 1.151 GB, free: 8.832 MB / 0.7527 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.8957, allocations: 90.62 kB / 1.151 GB, free: 8.727 MB / 0.7527 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/0.896, allocations: 213.2 kB / 1.151 GB, free: 8.504 MB / 0.7527 GB Notification: Performance of pre-optimization done (n=27): time 1.383e-06/0.896, allocations: 0 / 1.151 GB, free: 8.504 MB / 0.7527 GB Notification: Performance of matching and sorting (n=28): time 0.0009106/0.8969, allocations: 438.5 kB / 1.152 GB, free: 8.07 MB / 0.7527 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.8969, allocations: 85.11 kB / 1.152 GB, free: 7.969 MB / 0.7527 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.8971, allocations: 187 kB / 1.152 GB, free: 7.781 MB / 0.7527 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.8972, allocations: 25.7 kB / 1.152 GB, free: 7.75 MB / 0.7527 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.8973, allocations: 152.1 kB / 1.152 GB, free: 7.598 MB / 0.7527 GB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.8974, allocations: 86.75 kB / 1.152 GB, free: 7.512 MB / 0.7527 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.8974, allocations: 0 / 1.152 GB, free: 7.512 MB / 0.7527 GB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.8975, allocations: 342.8 kB / 1.153 GB, free: 7.168 MB / 0.7527 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.8977, allocations: 132.3 kB / 1.153 GB, free: 7.039 MB / 0.7527 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.8979, allocations: 197.4 kB / 1.153 GB, free: 6.816 MB / 0.7527 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.8982, allocations: 164.1 kB / 1.153 GB, free: 6.656 MB / 0.7527 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8982, allocations: 4 kB / 1.153 GB, free: 6.652 MB / 0.7527 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007231/0.8989, allocations: 428.4 kB / 1.153 GB, free: 6.227 MB / 0.7527 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003071/0.8992, allocations: 0.8826 MB / 1.154 GB, free: 5.277 MB / 0.7527 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.8993, allocations: 2.344 kB / 1.154 GB, free: 5.277 MB / 0.7527 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.8995, allocations: 44.83 kB / 1.154 GB, free: 5.23 MB / 0.7527 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.8999, allocations: 87.86 kB / 1.154 GB, free: 5.145 MB / 0.7527 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.9011, allocations: 1.413 MB / 1.156 GB, free: 3.613 MB / 0.7527 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.9015, allocations: 47.92 kB / 1.156 GB, free: 3.566 MB / 0.7527 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.9015, allocations: 19.89 kB / 1.156 GB, free: 3.547 MB / 0.7527 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/0.9015, allocations: 5.406 kB / 1.156 GB, free: 3.543 MB / 0.7527 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006189/0.9022, allocations: 345.3 kB / 1.156 GB, free: 3.203 MB / 0.7527 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9022, allocations: 4 kB / 1.156 GB, free: 3.199 MB / 0.7527 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.9023, allocations: 44.81 kB / 1.156 GB, free: 3.152 MB / 0.7527 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.9027, allocations: 84.03 kB / 1.156 GB, free: 3.07 MB / 0.7527 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009825/0.9037, allocations: 1.397 MB / 1.158 GB, free: 1.559 MB / 0.7527 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.904, allocations: 55.7 kB / 1.158 GB, free: 1.504 MB / 0.7527 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.904, allocations: 22.05 kB / 1.158 GB, free: 1.484 MB / 0.7527 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.9042, allocations: 112.9 kB / 1.158 GB, free: 1.367 MB / 0.7527 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.9042, allocations: 23.72 kB / 1.158 GB, free: 1.344 MB / 0.7527 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007006/0.9049, allocations: 397.2 kB / 1.158 GB, free: 0.9414 MB / 0.7527 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.9049, allocations: 4 kB / 1.158 GB, free: 0.9375 MB / 0.7527 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.905, allocations: 0 / 1.158 GB, free: 0.9375 MB / 0.7527 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.905, allocations: 3.984 kB / 1.158 GB, free: 0.9336 MB / 0.7527 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.9055, allocations: 0.5089 MB / 1.159 GB, free: 384 kB / 0.7527 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.9055, allocations: 12.14 kB / 1.159 GB, free: 372 kB / 0.7527 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/0.9059, allocations: 75.88 kB / 1.159 GB, free: 296 kB / 0.7527 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.9061, allocations: 44.81 kB / 1.159 GB, free: 248 kB / 0.7527 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.9061, allocations: 3.984 kB / 1.159 GB, free: 244 kB / 0.7527 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009495/0.9071, allocations: 1.336 MB / 1.16 GB, free: 14.79 MB / 0.7684 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9071, allocations: 0 / 1.16 GB, free: 14.79 MB / 0.7684 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006497/0.9077, allocations: 0.5043 MB / 1.161 GB, free: 14.24 MB / 0.7684 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008002/0.9085, allocations: 0.8791 MB / 1.162 GB, free: 13.31 MB / 0.7684 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.9087, allocations: 140.6 kB / 1.162 GB, free: 13.15 MB / 0.7684 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.9087, allocations: 4 kB / 1.162 GB, free: 13.15 MB / 0.7684 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.9091, allocations: 40.89 kB / 1.162 GB, free: 13.11 MB / 0.7684 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/0.9092, allocations: 19.97 kB / 1.162 GB, free: 13.09 MB / 0.7684 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.9092, allocations: 17.23 kB / 1.162 GB, free: 13.07 MB / 0.7684 GB Notification: Performance of sort global known variables: time 0.0001277/0.9093, allocations: 156.5 kB / 1.162 GB, free: 12.93 MB / 0.7684 GB Notification: Performance of remove unused functions: time 0.001714/0.9111, allocations: 135.9 kB / 1.162 GB, free: 12.79 MB / 0.7684 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001705/0.9112, allocations: 131 kB / 1.162 GB, free: 12.66 MB / 0.7684 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.9123, allocations: 0.7633 MB / 1.163 GB, free: 11.86 MB / 0.7684 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9124, allocations: 0 / 1.163 GB, free: 11.86 MB / 0.7684 GB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.9127, allocations: 285.7 kB / 1.163 GB, free: 11.57 MB / 0.7684 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.9131, allocations: 35.03 kB / 1.163 GB, free: 11.54 MB / 0.7684 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.9141, allocations: 466.3 kB / 1.164 GB, free: 11.06 MB / 0.7684 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.9145, allocations: 0.8316 MB / 1.165 GB, free: 10.2 MB / 0.7684 GB Notification: Performance of SimCode: time 2.6e-07/0.9145, allocations: 4 kB / 1.165 GB, free: 10.2 MB / 0.7684 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)