Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.0/package.mo): time 2.127/2.127, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.00158/0.00158, allocations: 185.2 kB / 360.3 MB, free: 7.543 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.628/1.628, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001209/0.001209, allocations: 92.86 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2427/0.244, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5541/0.7981, allocations: 115.2 MB / 0.9628 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2507/1.049, allocations: 170.1 MB / 1.129 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/1.049, allocations: 88.69 kB / 1.129 GB, free: 2.559 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 1.105/2.154, allocations: 202.5 MB / 1.327 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/2.154, allocations: 7.906 kB / 1.327 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/2.165, allocations: 1.038 MB / 1.328 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/2.177, allocations: 3.413 MB / 1.331 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005458/2.177, allocations: 178.1 kB / 1.331 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002677/2.18, allocations: 331.7 kB / 1.332 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01995/2.2, allocations: 5.638 MB / 1.337 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02805/2.228, allocations: 7.859 MB / 1.345 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000336/2.229, allocations: 24.69 kB / 1.345 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002075/2.231, allocations: 18.5 kB / 1.345 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005182/2.231, allocations: 330.4 kB / 1.345 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05652/2.288, allocations: 39.11 MB / 1.383 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/2.292, allocations: 2.151 MB / 1.385 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004004/2.296, allocations: 1.944 MB / 1.387 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/2.296, allocations: 20.69 kB / 1.387 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/2.296, allocations: 54.53 kB / 1.387 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 4.819e-06/2.296, allocations: 0 / 1.387 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.01692/2.313, allocations: 6.061 MB / 1.393 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/2.313, allocations: 80.34 kB / 1.393 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/2.315, allocations: 1.099 MB / 1.394 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003799/2.316, allocations: 29.7 kB / 1.395 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/2.317, allocations: 1.981 MB / 1.396 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008424/2.318, allocations: 0.6059 MB / 1.397 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/2.318, allocations: 0 / 1.397 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001597/2.318, allocations: 398.1 kB / 1.397 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002631/2.321, allocations: 1.181 MB / 1.399 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002983/2.324, allocations: 1.844 MB / 1.4 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/2.327, allocations: 1.528 MB / 1.402 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/2.327, allocations: 8.594 kB / 1.402 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01241/2.34, allocations: 4.422 MB / 1.406 GB, free: 129 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/2.34, allocations: 8 kB / 1.406 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/2.34, allocations: 22.62 kB / 1.406 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00696/2.347, allocations: 1.544 MB / 1.408 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/2.349, allocations: 335.5 kB / 1.408 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03151/2.381, allocations: 15.55 MB / 1.423 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/2.384, allocations: 47.95 kB / 1.423 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/2.384, allocations: 96.86 kB / 1.423 GB, free: 111.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005023/2.385, allocations: 165.1 kB / 1.424 GB, free: 111.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005386/2.385, allocations: 209.5 kB / 1.424 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/2.397, allocations: 4.086 MB / 1.428 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/2.397, allocations: 16 kB / 1.428 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.692e-05/2.397, allocations: 23.61 kB / 1.428 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/2.397, allocations: 7.969 kB / 1.428 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/2.419, allocations: 8.084 MB / 1.436 GB, free: 98.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/2.419, allocations: 5.062 kB / 1.436 GB, free: 98.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/2.421, allocations: 160.4 kB / 1.436 GB, free: 98.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006879/2.427, allocations: 1.526 MB / 1.437 GB, free: 97.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002622/2.428, allocations: 8 kB / 1.437 GB, free: 97.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03092/2.459, allocations: 15.54 MB / 1.452 GB, free: 81.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/2.459, allocations: 9.5 kB / 1.452 GB, free: 81.15 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01095/2.47, allocations: 4.486 MB / 1.457 GB, free: 76.5 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01087/2.481, allocations: 4.907 MB / 1.462 GB, free: 71.43 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/2.482, allocations: 0.5224 MB / 1.462 GB, free: 70.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/2.483, allocations: 8.688 kB / 1.462 GB, free: 70.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/2.484, allocations: 39.84 kB / 1.462 GB, free: 70.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/2.485, allocations: 101.8 kB / 1.462 GB, free: 70.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/2.485, allocations: 44 kB / 1.462 GB, free: 70.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001424/2.486, allocations: 0.8061 MB / 1.463 GB, free: 69.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00457/2.491, allocations: 0.9036 MB / 1.464 GB, free: 69 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 (77): * Single equations (assignments): 73 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003431/2.491, allocations: 127 kB / 1.464 GB, free: 68.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01054/2.502, allocations: 4.013 MB / 1.468 GB, free: 64.83 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/2.502, allocations: 0 / 1.468 GB, free: 64.83 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007981/2.51, allocations: 2.506 MB / 1.471 GB, free: 62.29 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00533/2.515, allocations: 0.6013 MB / 1.471 GB, free: 61.71 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/2.536, allocations: 7.048 MB / 1.478 GB, free: 54.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006229/2.542, allocations: 3.7 MB / 1.482 GB, free: 50.79 MB / 0.8542 GB Notification: Performance of SimCode: time 1.603e-06/2.542, allocations: 0 / 1.482 GB, free: 50.79 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)