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_RLC.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_RLC,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.302/1.302, 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.0009157/0.0009158, allocations: 185.3 kB / 361.1 MB, free: 7.074 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.9741/0.9741, allocations: 205.1 MB / 0.6195 GB, free: 11.91 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.0007382/0.0007382, allocations: 90.7 kB / 0.7325 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1672/0.1679, allocations: 121.5 MB / 0.8512 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.555, allocations: 115.3 MB / 0.9638 GB, free: 77.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.7153, allocations: 184.2 MB / 1.144 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.7156, allocations: 97.02 kB / 1.144 GB, free: 3.68 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.8026/1.518, allocations: 270.5 MB / 1.408 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/1.518, allocations: 11.94 kB / 1.408 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009489/1.528, allocations: 1.417 MB / 1.409 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007637/1.535, allocations: 4.192 MB / 1.413 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/1.536, allocations: 160 kB / 1.414 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006524/1.536, allocations: 303.8 kB / 1.414 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007562/1.544, allocations: 5.765 MB / 1.419 GB, free: 109.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008638/1.552, allocations: 7.714 MB / 1.427 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/1.553, allocations: 27.72 kB / 1.427 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004694/1.553, allocations: 15.94 kB / 1.427 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/1.553, allocations: 345.9 kB / 1.427 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02813/1.581, allocations: 39.09 MB / 1.466 GB, free: 58.76 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/1.584, allocations: 2.559 MB / 1.468 GB, free: 56.21 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/1.586, allocations: 2.513 MB / 1.47 GB, free: 53.69 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/1.586, allocations: 26.09 kB / 1.471 GB, free: 53.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/1.586, allocations: 68.64 kB / 1.471 GB, free: 53.58 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 4.348e-06/1.586, allocations: 0 / 1.471 GB, free: 53.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.05747/1.644, allocations: 27.94 MB / 1.498 GB, free: 25.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.644, allocations: 94.73 kB / 1.498 GB, free: 25.47 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/1.646, allocations: 1.634 MB / 1.5 GB, free: 23.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002489/1.646, allocations: 25.7 kB / 1.5 GB, free: 23.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005796/1.646, allocations: 1.898 MB / 1.501 GB, free: 21.87 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007529/1.647, allocations: 1.382 MB / 1.503 GB, free: 20.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/1.648, allocations: 0 / 1.503 GB, free: 20.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.648, allocations: 487.3 kB / 1.503 GB, free: 19.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0029/1.651, allocations: 2.746 MB / 1.506 GB, free: 17.23 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/1.654, allocations: 3.676 MB / 1.51 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/1.657, allocations: 3.359 MB / 1.513 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/1.657, allocations: 8 kB / 1.513 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.0216/1.679, allocations: 11.37 MB / 1.524 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.679, allocations: 8.172 kB / 1.524 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.67e-05/1.679, allocations: 32 kB / 1.524 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01756/1.696, allocations: 4.957 MB / 1.529 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/1.699, allocations: 495.2 kB / 1.529 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06927/1.768, allocations: 59.69 MB / 1.588 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003444/1.771, allocations: 63.94 kB / 1.588 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007744/1.772, allocations: 176 kB / 1.588 GB, free: 10.18 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001038/1.773, allocations: 187.9 kB / 1.588 GB, free: 9.992 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008752/1.774, allocations: 371.6 kB / 1.588 GB, free: 9.625 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02417/1.798, allocations: 11.24 MB / 1.599 GB, free: 14.35 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.672e-05/1.798, allocations: 40 kB / 1.599 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.72e-05/1.798, allocations: 52 kB / 1.599 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-05/1.798, allocations: 19.92 kB / 1.599 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2537/2.052, allocations: 16.74 MB / 1.616 GB, free: 306.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/2.052, allocations: 10.67 kB / 1.616 GB, free: 306.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/2.054, allocations: 276.1 kB / 1.616 GB, free: 306.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01456/2.068, allocations: 4.441 MB / 1.62 GB, free: 306.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003673/2.069, allocations: 15.06 kB / 1.62 GB, free: 306.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05184/2.12, allocations: 57.23 MB / 1.676 GB, free: 278.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/2.121, allocations: 14.12 kB / 1.676 GB, free: 278.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02249/2.143, allocations: 15.08 MB / 1.691 GB, free: 276.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02589/2.169, allocations: 19.8 MB / 1.71 GB, free: 273.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/2.171, allocations: 0.9558 MB / 1.711 GB, free: 273.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006499/2.171, allocations: 14.62 kB / 1.711 GB, free: 273.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/2.173, allocations: 70.59 kB / 1.711 GB, free: 273.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/2.174, allocations: 211 kB / 1.712 GB, free: 273.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002693/2.174, allocations: 108.1 kB / 1.712 GB, free: 273.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001358/2.176, allocations: 1.197 MB / 1.713 GB, free: 273.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004752/2.18, allocations: 1.426 MB / 1.714 GB, free: 273.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003782/2.181, allocations: 151.4 kB / 1.714 GB, free: 273.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01443/2.195, allocations: 10.52 MB / 1.725 GB, free: 269.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/2.195, allocations: 0 / 1.725 GB, free: 269.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01039/2.206, allocations: 7.036 MB / 1.732 GB, free: 265.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/2.209, allocations: 0.846 MB / 1.732 GB, free: 265.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/2.225, allocations: 10.1 MB / 1.742 GB, free: 261.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004117/2.229, allocations: 4.099 MB / 1.746 GB, free: 260.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.332e-06/2.229, allocations: 1.312 kB / 1.746 GB, free: 260.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)