Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.297/1.297, 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.0008904/0.0008905, allocations: 189.2 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9784/0.9784, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007552/0.0007552, allocations: 91.06 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.168/0.1688, allocations: 121.5 MB / 0.8512 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.5526, allocations: 115.3 MB / 0.9638 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.7198, allocations: 195.6 MB / 1.155 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.7201, allocations: 92.55 kB / 1.155 GB, free: 8.125 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.5123/1.232, allocations: 115.1 MB / 1.267 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/1.232, allocations: 10 kB / 1.267 GB, free: 169.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/1.236, allocations: 0.6491 MB / 1.268 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00299/1.239, allocations: 2.076 MB / 1.27 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/1.239, allocations: 98.16 kB / 1.27 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003285/1.239, allocations: 176.4 kB / 1.27 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003633/1.243, allocations: 3.081 MB / 1.273 GB, free: 169.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004613/1.247, allocations: 4.216 MB / 1.277 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/1.247, allocations: 10.94 kB / 1.277 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/1.248, allocations: 10.31 kB / 1.277 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/1.248, allocations: 179.9 kB / 1.277 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/1.26, allocations: 21.05 MB / 1.298 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/1.262, allocations: 1.174 MB / 1.299 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009551/1.262, allocations: 1.027 MB / 1.3 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/1.263, allocations: 12.69 kB / 1.3 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/1.263, allocations: 45.06 kB / 1.3 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 2.605e-06/1.263, allocations: 3.5 kB / 1.3 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=138): time 0.006708/1.269, allocations: 4.806 MB / 1.305 GB, free: 154 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/1.269, allocations: 66.72 kB / 1.305 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007072/1.27, allocations: 0.8204 MB / 1.306 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.758e-05/1.27, allocations: 29.55 kB / 1.306 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/1.27, allocations: 1.133 MB / 1.307 GB, free: 153 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/1.271, allocations: 466.8 kB / 1.307 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/1.271, allocations: 0 / 1.307 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.979e-05/1.271, allocations: 374 kB / 1.308 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008587/1.272, allocations: 0.8692 MB / 1.309 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009593/1.273, allocations: 1.321 MB / 1.31 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.274, allocations: 1.115 MB / 1.311 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/1.274, allocations: 2.875 kB / 1.311 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.00432/1.278, allocations: 3.261 MB / 1.314 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/1.278, allocations: 3.938 kB / 1.314 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.278, allocations: 15.41 kB / 1.314 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/1.281, allocations: 1.106 MB / 1.315 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/1.281, allocations: 253.6 kB / 1.315 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/1.292, allocations: 11.33 MB / 1.327 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/1.293, allocations: 41.47 kB / 1.327 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/1.294, allocations: 69.91 kB / 1.327 GB, free: 147.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002175/1.294, allocations: 139 kB / 1.327 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/1.294, allocations: 152.1 kB / 1.327 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004531/1.298, allocations: 3.03 MB / 1.33 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/1.299, allocations: 14 kB / 1.33 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/1.299, allocations: 15.97 kB / 1.33 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.299, allocations: 7.406 kB / 1.33 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008069/1.307, allocations: 5.621 MB / 1.335 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/1.307, allocations: 2.594 kB / 1.335 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/1.307, allocations: 135.3 kB / 1.336 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/1.31, allocations: 1.037 MB / 1.337 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.492e-05/1.31, allocations: 5.688 kB / 1.337 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/1.32, allocations: 11 MB / 1.347 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/1.32, allocations: 12.7 kB / 1.347 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004046/1.324, allocations: 3.263 MB / 1.351 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003932/1.328, allocations: 3.672 MB / 1.354 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006659/1.329, allocations: 408.8 kB / 1.354 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/1.329, allocations: 5.531 kB / 1.354 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/1.33, allocations: 41.53 kB / 1.355 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.33, allocations: 84.45 kB / 1.355 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/1.33, allocations: 37.19 kB / 1.355 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007189/1.331, allocations: 0.6235 MB / 1.355 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002822/1.334, allocations: 0.5739 MB / 1.356 GB, free: 140.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00024/1.334, allocations: 128 kB / 1.356 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003678/1.338, allocations: 2.801 MB / 1.359 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.338, allocations: 0 / 1.359 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002397/1.34, allocations: 1.702 MB / 1.36 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/1.341, allocations: 381.1 kB / 1.361 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/1.348, allocations: 4.354 MB / 1.365 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/1.35, allocations: 2.421 MB / 1.367 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of SimCode: time 3.61e-07/1.35, allocations: 0 / 1.367 GB, free: 136.2 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)