Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.301/1.301, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009658/0.0009659, allocations: 185.3 kB / 361.1 MB, free: 7.086 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.001/1.001, 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.0007613/0.0007613, allocations: 90.86 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1761/0.1769, allocations: 121.5 MB / 0.8512 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.5993, allocations: 115.3 MB / 0.9638 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.7511, allocations: 160.6 MB / 1.121 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.7514, allocations: 95.39 kB / 1.121 GB, free: 11.21 MB / 0.7292 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.04126/0.7927, allocations: 17.85 MB / 1.138 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.7928, allocations: 9.25 kB / 1.138 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007885/0.7936, allocations: 105.5 kB / 1.138 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.7939, allocations: 279.5 kB / 1.139 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.794, allocations: 8 kB / 1.139 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.794, allocations: 16 kB / 1.139 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004107/0.7944, allocations: 252.8 kB / 1.139 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.7949, allocations: 353.3 kB / 1.139 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.7949, allocations: 3.938 kB / 1.139 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.795, allocations: 4.656 kB / 1.139 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.795, allocations: 20.36 kB / 1.139 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.7968, allocations: 1.607 MB / 1.141 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.7974, allocations: 337.5 kB / 1.141 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.7976, allocations: 157.7 kB / 1.141 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.7977, allocations: 90.5 kB / 1.141 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/0.798, allocations: 218.4 kB / 1.141 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.674e-06/0.798, allocations: 0 / 1.141 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0008622/0.7989, allocations: 432.8 kB / 1.142 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.7989, allocations: 85.11 kB / 1.142 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.7991, allocations: 195.1 kB / 1.142 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.7991, allocations: 25.7 kB / 1.142 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.7992, allocations: 144.1 kB / 1.142 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/0.7993, allocations: 86.75 kB / 1.142 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.7993, allocations: 0 / 1.142 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.7994, allocations: 342.7 kB / 1.143 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.7996, allocations: 132.2 kB / 1.143 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.7998, allocations: 205.2 kB / 1.143 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.8001, allocations: 168.1 kB / 1.143 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8001, allocations: 1.031 kB / 1.143 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007328/0.8008, allocations: 427.3 kB / 1.144 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.8011, allocations: 0.872 MB / 1.144 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.8011, allocations: 4 kB / 1.144 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/0.8013, allocations: 44.81 kB / 1.145 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.8017, allocations: 97.12 kB / 1.145 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.8029, allocations: 1.408 MB / 1.146 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.8032, allocations: 47.84 kB / 1.146 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.8033, allocations: 23.97 kB / 1.146 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.8033, allocations: 4 kB / 1.146 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006222/0.8039, allocations: 345.2 kB / 1.146 GB, free: 316 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.8039, allocations: 4.75 kB / 1.146 GB, free: 312 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.8041, allocations: 37.11 kB / 1.146 GB, free: 272 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.8044, allocations: 91.88 kB / 1.147 GB, free: 180 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009927/0.8055, allocations: 1.411 MB / 1.148 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.8058, allocations: 47.83 kB / 1.148 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.8058, allocations: 12 kB / 1.148 GB, free: 14.59 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: 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.0001067/0.8059, allocations: 117.8 kB / 1.148 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.806, allocations: 31.7 kB / 1.148 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006657/0.8066, allocations: 382.8 kB / 1.148 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.8067, allocations: 5.062 kB / 1.148 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8067, allocations: 8 kB / 1.148 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.8067, allocations: 0 / 1.148 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.8072, allocations: 0.5159 MB / 1.149 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.8073, allocations: 3.906 kB / 1.149 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.8076, allocations: 80.69 kB / 1.149 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.8078, allocations: 32.83 kB / 1.149 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.8078, allocations: 5.438 kB / 1.149 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008754/0.8087, allocations: 1.343 MB / 1.15 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8087, allocations: 4 kB / 1.15 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006165/0.8093, allocations: 0.4995 MB / 1.151 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007211/0.8101, allocations: 0.8789 MB / 1.152 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.8102, allocations: 137.3 kB / 1.152 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.8102, allocations: 0 / 1.152 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.8106, allocations: 39.95 kB / 1.152 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.8107, allocations: 31.08 kB / 1.152 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.8107, allocations: 8 kB / 1.152 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001178/0.8108, allocations: 156.5 kB / 1.152 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001608/0.8124, allocations: 135.9 kB / 1.152 GB, free: 9.906 MB / 0.7605 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.0001688/0.8126, allocations: 132.2 kB / 1.152 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.8137, allocations: 0.7641 MB / 1.153 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.8137, allocations: 0 / 1.153 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.8141, allocations: 287.2 kB / 1.153 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.8144, allocations: 38.34 kB / 1.153 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.8155, allocations: 478 kB / 1.154 GB, free: 8.156 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.8159, allocations: 0.8166 MB / 1.155 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of SimCode: time 2.61e-07/0.8159, allocations: 0 / 1.155 GB, free: 7.316 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)