Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.0/package.mo): time 2.145/2.145, 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.001551/0.00155, allocations: 189.2 kB / 360.3 MB, free: 7.492 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.625/1.625, allocations: 205.1 MB / 0.6187 GB, free: 12.45 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.001225/0.001224, allocations: 90.52 kB / 0.7317 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2467/0.248, allocations: 121.4 MB / 0.8502 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.7991, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2494/1.049, allocations: 165.5 MB / 1.124 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/1.049, allocations: 94.05 kB / 1.124 GB, free: 7.207 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.9486/1.998, allocations: 141.4 MB / 1.262 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.998, allocations: 8.062 kB / 1.262 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/2.008, allocations: 1.047 MB / 1.264 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008401/2.017, allocations: 2.623 MB / 1.266 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/2.017, allocations: 116.9 kB / 1.266 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/2.018, allocations: 211.8 kB / 1.266 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01345/2.032, allocations: 4.594 MB / 1.271 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01865/2.051, allocations: 6.25 MB / 1.277 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001497/2.051, allocations: 14.66 kB / 1.277 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009869/2.052, allocations: 10.73 kB / 1.277 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001135/2.053, allocations: 409.4 kB / 1.277 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05166/2.105, allocations: 31.64 MB / 1.308 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0043/2.109, allocations: 2.108 MB / 1.31 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004539/2.114, allocations: 2.243 MB / 1.313 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/2.114, allocations: 28.69 kB / 1.313 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/2.114, allocations: 46.62 kB / 1.313 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 4.719e-06/2.114, allocations: 0 / 1.313 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.1095/2.223, allocations: 21.59 MB / 1.334 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/2.223, allocations: 79.78 kB / 1.334 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/2.226, allocations: 1.27 MB / 1.335 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007556/2.227, allocations: 29.36 kB / 1.335 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007303/2.228, allocations: 1.458 MB / 1.336 GB, free: 126 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/2.229, allocations: 0.8107 MB / 1.337 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/2.229, allocations: 0 / 1.337 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001673/2.229, allocations: 408.6 kB / 1.338 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006227/2.236, allocations: 2.873 MB / 1.34 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006812/2.243, allocations: 3.392 MB / 1.344 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/2.254, allocations: 3.612 MB / 1.347 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-05/2.254, allocations: 4 kB / 1.347 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.04592/2.3, allocations: 12.41 MB / 1.359 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/2.3, allocations: 4.844 kB / 1.359 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/2.3, allocations: 18.72 kB / 1.359 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04497/2.345, allocations: 7.961 MB / 1.367 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/2.347, allocations: 275 kB / 1.367 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08657/2.434, allocations: 30.92 MB / 1.398 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004314/2.438, allocations: 82.55 kB / 1.398 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008453/2.439, allocations: 270.4 kB / 1.398 GB, free: 107.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008969/2.44, allocations: 150.5 kB / 1.398 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008625/2.441, allocations: 233.2 kB / 1.398 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04695/2.488, allocations: 12.64 MB / 1.411 GB, free: 97.69 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.636e-05/2.488, allocations: 24 kB / 1.411 GB, free: 97.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.241e-05/2.488, allocations: 24 kB / 1.411 GB, free: 97.64 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-05/2.488, allocations: 12.61 kB / 1.411 GB, free: 97.64 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0601/2.548, allocations: 18.13 MB / 1.428 GB, free: 80.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.358e-05/2.549, allocations: 4 kB / 1.428 GB, free: 80.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/2.55, allocations: 157.9 kB / 1.429 GB, free: 80.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04458/2.595, allocations: 7.88 MB / 1.436 GB, free: 72.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008384/2.595, allocations: 83.86 kB / 1.436 GB, free: 72.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08407/2.68, allocations: 30.44 MB / 1.466 GB, free: 41.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/2.68, allocations: 11.66 kB / 1.466 GB, free: 41.38 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04331/2.723, allocations: 12.69 MB / 1.479 GB, free: 28.46 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04398/2.767, allocations: 13.1 MB / 1.491 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003095/2.77, allocations: 0.986 MB / 1.492 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/2.771, allocations: 11.98 kB / 1.492 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003325/2.774, allocations: 83.77 kB / 1.492 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008015/2.775, allocations: 210.5 kB / 1.493 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006321/2.776, allocations: 235.8 kB / 1.493 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001832/2.778, allocations: 0.9582 MB / 1.494 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005876/2.784, allocations: 1.098 MB / 1.495 GB, free: 11.54 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007169/2.784, allocations: 149.8 kB / 1.495 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03111/2.816, allocations: 9.37 MB / 1.504 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/2.816, allocations: 1.531 kB / 1.504 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.02612/2.842, allocations: 5.963 MB / 1.51 GB, free: 12.07 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/2.846, allocations: 404.5 kB / 1.51 GB, free: 11.7 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02597/2.872, allocations: 7.476 MB / 1.518 GB, free: 4.082 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007152/2.879, allocations: 3.204 MB / 1.521 GB, free: 0.8477 MB / 0.8699 GB Notification: Performance of SimCode: time 1.463e-06/2.879, allocations: 0 / 1.521 GB, free: 0.8477 MB / 0.8699 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)