Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.309/1.309, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009214/0.0009214, allocations: 181.3 kB / 361.1 MB, free: 7.09 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.992/0.992, 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.0007259/0.0007259, allocations: 84.61 kB / 0.7325 GB, free: 43.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1702/0.171, allocations: 121.5 MB / 0.8512 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.5664, allocations: 115.3 MB / 0.9638 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.7112, allocations: 160.5 MB / 1.121 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.7115, allocations: 93.48 kB / 1.121 GB, free: 11.34 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.07776/0.7892, allocations: 37.16 MB / 1.157 GB, free: 5.918 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.7893, allocations: 8.5 kB / 1.157 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.7908, allocations: 226.7 kB / 1.157 GB, free: 5.688 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.7916, allocations: 0.5312 MB / 1.158 GB, free: 5.109 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.7916, allocations: 29.97 kB / 1.158 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.7917, allocations: 40 kB / 1.158 GB, free: 5.043 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000796/0.7925, allocations: 0.5655 MB / 1.158 GB, free: 4.48 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.7937, allocations: 1.006 MB / 1.159 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.7938, allocations: 11.84 kB / 1.159 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/0.7938, allocations: 4 kB / 1.159 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/0.7939, allocations: 61.27 kB / 1.159 GB, free: 3.25 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.798, allocations: 5.668 MB / 1.165 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.7985, allocations: 394.4 kB / 1.165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.7988, allocations: 300.8 kB / 1.165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.7988, allocations: 4 kB / 1.166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.7989, allocations: 38.56 kB / 1.166 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 1.583e-06/0.7989, allocations: 0 / 1.166 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.001907/0.8008, allocations: 1.135 MB / 1.167 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.8008, allocations: 59.19 kB / 1.167 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.8011, allocations: 317.1 kB / 1.167 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.8012, allocations: 25.7 kB / 1.167 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.8013, allocations: 331 kB / 1.167 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.631e-05/0.8014, allocations: 145.9 kB / 1.167 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.8014, allocations: 0 / 1.167 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.8015, allocations: 358.8 kB / 1.168 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.8018, allocations: 229.2 kB / 1.168 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.8022, allocations: 405.2 kB / 1.168 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.8026, allocations: 300.4 kB / 1.169 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8026, allocations: 7.906 kB / 1.169 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00152/0.8041, allocations: 0.898 MB / 1.17 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.8041, allocations: 4 kB / 1.17 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.8041, allocations: 8 kB / 1.17 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008955/0.805, allocations: 279.8 kB / 1.17 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.8054, allocations: 91.83 kB / 1.17 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.811, allocations: 6.227 MB / 1.176 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.8114, allocations: 8 kB / 1.176 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.8115, allocations: 31.98 kB / 1.176 GB, free: 0.9961 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.8116, allocations: 120.7 kB / 1.176 GB, free: 0.8711 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.627e-05/0.8117, allocations: 55.34 kB / 1.176 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.8132, allocations: 0.8141 MB / 1.177 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.8132, allocations: 8 kB / 1.177 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.8132, allocations: 0 / 1.177 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.8132, allocations: 7.984 kB / 1.177 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.8155, allocations: 1.515 MB / 1.179 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.8156, allocations: 4 kB / 1.179 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.8158, allocations: 39.97 kB / 1.179 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008345/0.8166, allocations: 283.2 kB / 1.179 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.8166, allocations: 4 kB / 1.179 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005096/0.8217, allocations: 6.197 MB / 1.185 GB, free: 7.391 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.8218, allocations: 7.938 kB / 1.185 GB, free: 7.383 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001399/0.8232, allocations: 0.978 MB / 1.186 GB, free: 6.316 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001518/0.8247, allocations: 1.377 MB / 1.187 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.8249, allocations: 176.3 kB / 1.187 GB, free: 4.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.983e-05/0.825, allocations: 4 kB / 1.187 GB, free: 4.656 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.8253, allocations: 11.98 kB / 1.187 GB, free: 4.645 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.8253, allocations: 20.16 kB / 1.187 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.8254, allocations: 13 kB / 1.187 GB, free: 4.613 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0002226/0.8256, allocations: 239.2 kB / 1.188 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00121/0.8268, allocations: 168 kB / 1.188 GB, free: 4.215 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001404/0.827, allocations: 115.1 kB / 1.188 GB, free: 4.09 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.8285, allocations: 1.074 MB / 1.189 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8285, allocations: 4.062 kB / 1.189 GB, free: 2.973 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.8295, allocations: 0.753 MB / 1.19 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007534/0.8303, allocations: 167.9 kB / 1.19 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.8319, allocations: 0.8876 MB / 1.191 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005807/0.8325, allocations: 1.028 MB / 1.192 GB, free: 36 kB / 0.7917 GB Notification: Performance of SimCode: time 2.5e-07/0.8325, allocations: 0 / 1.192 GB, free: 36 kB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)