Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.225/1.225, allocations: 249.4 MB / 256.7 MB, free: 0.7422 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009342/0.0009341, allocations: 180.1 kB / 316 MB, free: 8.922 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.1 MB / 0.5667 GB, free: 13.4 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008125/0.0008125, allocations: 87.58 kB / 0.671 GB, free: 51.46 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2019/0.2027, allocations: 112.5 MB / 0.7808 GB, free: 9.781 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.693, allocations: 106.3 MB / 0.8847 GB, free: 89.11 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.8905, allocations: 189.3 MB / 1.069 GB, free: 4.23 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.8909, allocations: 99.17 kB / 1.07 GB, free: 4.137 MB / 0.7058 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.2582/1.149, allocations: 115.1 MB / 1.182 GB, free: 204 kB / 0.8152 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/1.149, allocations: 8 kB / 1.182 GB, free: 196 kB / 0.8152 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00409/1.153, allocations: 0.6518 MB / 1.183 GB, free: 15.54 MB / 0.8308 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004122/1.157, allocations: 2.071 MB / 1.185 GB, free: 13.4 MB / 0.8308 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.408e-05/1.158, allocations: 96 kB / 1.185 GB, free: 13.31 MB / 0.8308 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004353/1.158, allocations: 171.9 kB / 1.185 GB, free: 13.14 MB / 0.8308 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005187/1.163, allocations: 3.085 MB / 1.188 GB, free: 10.05 MB / 0.8308 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007583/1.171, allocations: 4.22 MB / 1.192 GB, free: 5.586 MB / 0.8308 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.891e-05/1.171, allocations: 15.78 kB / 1.192 GB, free: 5.57 MB / 0.8308 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/1.171, allocations: 8 kB / 1.192 GB, free: 5.562 MB / 0.8308 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/1.171, allocations: 173.8 kB / 1.192 GB, free: 5.391 MB / 0.8308 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2728/1.444, allocations: 21.04 MB / 1.213 GB, free: 291.4 MB / 0.8308 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/1.445, allocations: 1.174 MB / 1.214 GB, free: 291.3 MB / 0.8308 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.446, allocations: 1.027 MB / 1.215 GB, free: 291.3 MB / 0.8308 GB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/1.446, allocations: 14.94 kB / 1.215 GB, free: 291.3 MB / 0.8308 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/1.447, allocations: 49.2 kB / 1.215 GB, free: 291.3 MB / 0.8308 GB Notification: Performance of pre-optimization done (n=107): time 3.527e-06/1.447, allocations: 2.344 kB / 1.215 GB, free: 291.3 MB / 0.8308 GB Notification: Performance of matching and sorting (n=138): time 0.00767/1.454, allocations: 4.797 MB / 1.22 GB, free: 290.8 MB / 0.8308 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/1.454, allocations: 67.03 kB / 1.22 GB, free: 290.7 MB / 0.8308 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/1.455, allocations: 0.8295 MB / 1.221 GB, free: 290.6 MB / 0.8308 GB Notification: Performance of collectPreVariables (initialization): time 8.904e-05/1.455, allocations: 25.7 kB / 1.221 GB, free: 290.5 MB / 0.8308 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/1.456, allocations: 1.128 MB / 1.222 GB, free: 290 MB / 0.8308 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/1.456, allocations: 468.4 kB / 1.222 GB, free: 289.7 MB / 0.8308 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/1.456, allocations: 0 / 1.222 GB, free: 289.7 MB / 0.8308 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/1.456, allocations: 371.6 kB / 1.222 GB, free: 289.4 MB / 0.8308 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009262/1.457, allocations: 0.8673 MB / 1.223 GB, free: 289.4 MB / 0.8308 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/1.458, allocations: 1.318 MB / 1.225 GB, free: 288.9 MB / 0.8308 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.459, allocations: 1.113 MB / 1.226 GB, free: 288.9 MB / 0.8308 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/1.459, allocations: 3.469 kB / 1.226 GB, free: 288.9 MB / 0.8308 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004687/1.464, allocations: 3.264 MB / 1.229 GB, free: 288.7 MB / 0.8308 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.464, allocations: 10.62 kB / 1.229 GB, free: 288.7 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/1.464, allocations: 19.06 kB / 1.229 GB, free: 288.7 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/1.467, allocations: 1.106 MB / 1.23 GB, free: 288.7 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008874/1.468, allocations: 253.2 kB / 1.23 GB, free: 288.7 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/1.479, allocations: 11.33 MB / 1.241 GB, free: 284.9 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.481, allocations: 40.47 kB / 1.241 GB, free: 284.9 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.481, allocations: 68.97 kB / 1.241 GB, free: 284.9 MB / 0.8308 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.0002631/1.481, allocations: 147.2 kB / 1.242 GB, free: 284.8 MB / 0.8308 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/1.482, allocations: 150.6 kB / 1.242 GB, free: 284.7 MB / 0.8308 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004593/1.486, allocations: 3.034 MB / 1.245 GB, free: 284.6 MB / 0.8308 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.486, allocations: 17.8 kB / 1.245 GB, free: 284.6 MB / 0.8308 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.486, allocations: 14.69 kB / 1.245 GB, free: 284.6 MB / 0.8308 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/1.486, allocations: 10.5 kB / 1.245 GB, free: 284.6 MB / 0.8308 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007795/1.494, allocations: 5.61 MB / 1.25 GB, free: 284 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.494, allocations: 10.22 kB / 1.25 GB, free: 284 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/1.495, allocations: 133.8 kB / 1.25 GB, free: 284 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002452/1.497, allocations: 1.032 MB / 1.251 GB, free: 284 MB / 0.8308 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-05/1.497, allocations: 7.719 kB / 1.251 GB, free: 284 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/1.509, allocations: 11 MB / 1.262 GB, free: 280.2 MB / 0.8308 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/1.509, allocations: 9.656 kB / 1.262 GB, free: 280.2 MB / 0.8308 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004247/1.513, allocations: 3.262 MB / 1.265 GB, free: 279.5 MB / 0.8308 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004233/1.517, allocations: 3.677 MB / 1.269 GB, free: 278.4 MB / 0.8308 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006987/1.518, allocations: 403.4 kB / 1.269 GB, free: 278.2 MB / 0.8308 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/1.518, allocations: 9.094 kB / 1.269 GB, free: 278.2 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/1.519, allocations: 35.67 kB / 1.269 GB, free: 278.2 MB / 0.8308 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.519, allocations: 78.84 kB / 1.269 GB, free: 278.2 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/1.519, allocations: 37.91 kB / 1.269 GB, free: 278.2 MB / 0.8308 GB Notification: Performance of sort global known variables: time 0.0006948/1.52, allocations: 0.6235 MB / 1.27 GB, free: 278.1 MB / 0.8308 GB Notification: Performance of remove unused functions: time 0.002741/1.522, allocations: 0.5809 MB / 1.271 GB, free: 278.1 MB / 0.8308 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.0002501/1.523, allocations: 119.3 kB / 1.271 GB, free: 278 MB / 0.8308 GB Notification: Performance of simCode: created initialization part: time 0.003966/1.527, allocations: 2.799 MB / 1.273 GB, free: 277.5 MB / 0.8308 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.527, allocations: 3.969 kB / 1.273 GB, free: 277.5 MB / 0.8308 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/1.529, allocations: 1.704 MB / 1.275 GB, free: 276.7 MB / 0.8308 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.531, allocations: 374.6 kB / 1.275 GB, free: 276.6 MB / 0.8308 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007374/1.538, allocations: 4.345 MB / 1.28 GB, free: 275 MB / 0.8308 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002402/1.541, allocations: 2.424 MB / 1.282 GB, free: 273.9 MB / 0.8308 GB Notification: Performance of SimCode: time 9.31e-07/1.541, allocations: 0.5312 kB / 1.282 GB, free: 273.9 MB / 0.8308 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)