Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.1.4-maint.8.1.x/package.mo): time 1.408/1.408, allocations: 289.8 MB / 297.1 MB, free: 6.746 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.001076/0.001076, allocations: 193.2 kB / 366.3 MB, free: 2.016 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.074/1.074, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0008665/0.0008665, allocations: 95.48 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2017/0.2026, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.6438, allocations: 116.3 MB / 0.9727 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.8149, allocations: 168.5 MB / 1.137 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.8152, allocations: 97.36 kB / 1.137 GB, free: 11.98 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.165/0.9802, allocations: 73.28 MB / 1.209 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.9802, allocations: 8 kB / 1.209 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/0.9829, allocations: 485.2 kB / 1.209 GB, free: 1.434 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.9849, allocations: 1.29 MB / 1.211 GB, free: 100 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.985, allocations: 51.91 kB / 1.211 GB, free: 48 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.9853, allocations: 88.05 kB / 1.211 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003379/0.9887, allocations: 2.353 MB / 1.213 GB, free: 13.61 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004111/0.9928, allocations: 2.956 MB / 1.216 GB, free: 10.53 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.9928, allocations: 7.938 kB / 1.216 GB, free: 10.52 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/0.993, allocations: 0 / 1.216 GB, free: 10.52 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005785/0.9936, allocations: 190.9 kB / 1.216 GB, free: 10.33 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01997/1.014, allocations: 14.71 MB / 1.23 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/1.016, allocations: 1.737 MB / 1.232 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/1.018, allocations: 1.542 MB / 1.234 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.758e-05/1.018, allocations: 16.98 kB / 1.234 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/1.018, allocations: 39.56 kB / 1.234 GB, free: 7.402 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=104): time 3.937e-06/1.018, allocations: 3.938 kB / 1.234 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of matching and sorting (n=183): time 0.3532/1.371, allocations: 14.15 MB / 1.248 GB, free: 174.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/1.371, allocations: 72.5 kB / 1.248 GB, free: 174.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/1.372, allocations: 1.002 MB / 1.249 GB, free: 174.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001764/1.373, allocations: 25.7 kB / 1.249 GB, free: 174.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/1.373, allocations: 0.6619 MB / 1.249 GB, free: 173.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003869/1.373, allocations: 0.6005 MB / 1.25 GB, free: 173.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/1.373, allocations: 0 / 1.25 GB, free: 173.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/1.373, allocations: 386.2 kB / 1.25 GB, free: 173.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/1.376, allocations: 2.151 MB / 1.252 GB, free: 173.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/1.378, allocations: 2.465 MB / 1.255 GB, free: 172.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004575/1.383, allocations: 2.927 MB / 1.258 GB, free: 172.9 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.383, allocations: 3.5 kB / 1.258 GB, free: 172.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01531/1.398, allocations: 8.785 MB / 1.266 GB, free: 172.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.398, allocations: 3.656 kB / 1.266 GB, free: 172.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.398, allocations: 7.281 kB / 1.266 GB, free: 172.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0136/1.412, allocations: 4.989 MB / 1.271 GB, free: 172.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.413, allocations: 246.8 kB / 1.271 GB, free: 172.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02915/1.442, allocations: 21.56 MB / 1.292 GB, free: 168.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/1.444, allocations: 76.17 kB / 1.292 GB, free: 168.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004888/1.445, allocations: 265.8 kB / 1.293 GB, free: 168.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0004396/1.445, allocations: 127.7 kB / 1.293 GB, free: 168.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/1.445, allocations: 134.3 kB / 1.293 GB, free: 168.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/1.46, allocations: 8.351 MB / 1.301 GB, free: 168.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/1.46, allocations: 20.28 kB / 1.301 GB, free: 168.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/1.46, allocations: 14.78 kB / 1.301 GB, free: 168.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/1.46, allocations: 10.27 kB / 1.301 GB, free: 168.4 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/1.48, allocations: 12.76 MB / 1.314 GB, free: 163.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.48, allocations: 4 kB / 1.314 GB, free: 163.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/1.48, allocations: 113.4 kB / 1.314 GB, free: 163.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01326/1.494, allocations: 4.778 MB / 1.318 GB, free: 160.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002524/1.494, allocations: 64.36 kB / 1.318 GB, free: 160.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02513/1.519, allocations: 18.49 MB / 1.336 GB, free: 148 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.519, allocations: 4.844 kB / 1.336 GB, free: 148 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0133/1.532, allocations: 7.905 MB / 1.344 GB, free: 140.2 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01313/1.545, allocations: 8.302 MB / 1.352 GB, free: 131.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.547, allocations: 0.8269 MB / 1.353 GB, free: 130.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004239/1.547, allocations: 11.91 kB / 1.353 GB, free: 130.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.549, allocations: 39.97 kB / 1.353 GB, free: 130.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/1.549, allocations: 151.2 kB / 1.353 GB, free: 130.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002913/1.549, allocations: 179.9 kB / 1.353 GB, free: 130.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007884/1.55, allocations: 0.7825 MB / 1.354 GB, free: 129.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002858/1.553, allocations: 0.6744 MB / 1.355 GB, free: 129.1 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.00031/1.553, allocations: 124.5 kB / 1.355 GB, free: 129 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0074/1.561, allocations: 5.733 MB / 1.361 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.561, allocations: 0 / 1.361 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.005734/1.566, allocations: 3.376 MB / 1.364 GB, free: 119.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/1.567, allocations: 154.8 kB / 1.364 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/1.574, allocations: 4.384 MB / 1.368 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/1.576, allocations: 1.9 MB / 1.37 GB, free: 113.3 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.576, allocations: 7.5 kB / 1.37 GB, free: 113.3 MB / 0.8386 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)