Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.27/1.27, allocations: 249.4 MB / 256.7 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009898/0.0009901, allocations: 181.2 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.111/1.111, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000867/0.000867, allocations: 91.95 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3556/0.3565, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.5266, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5308/1.057, allocations: 175.9 MB / 1.056 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/1.058, allocations: 91.94 kB / 1.057 GB, free: 12.88 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.06849/1.126, allocations: 28.83 MB / 1.085 GB, free: 4.879 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/1.126, allocations: 8 kB / 1.085 GB, free: 4.871 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/1.129, allocations: 433.6 kB / 1.085 GB, free: 4.449 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007485/1.13, allocations: 476.4 kB / 1.086 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/1.13, allocations: 8 kB / 1.086 GB, free: 4.012 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/1.13, allocations: 16 kB / 1.086 GB, free: 3.996 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006845/1.13, allocations: 494.2 kB / 1.086 GB, free: 3.664 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/1.131, allocations: 0.5508 MB / 1.087 GB, free: 3.215 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/1.131, allocations: 0 / 1.087 GB, free: 3.215 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/1.131, allocations: 4 kB / 1.087 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/1.131, allocations: 27.8 kB / 1.087 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/1.135, allocations: 2.75 MB / 1.089 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/1.136, allocations: 320.7 kB / 1.09 GB, free: 372 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/1.136, allocations: 165.3 kB / 1.09 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/1.136, allocations: 92.28 kB / 1.09 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/1.136, allocations: 42.44 kB / 1.09 GB, free: 96 kB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/1.136, allocations: 0 / 1.09 GB, free: 96 kB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.004443/1.14, allocations: 1.474 MB / 1.091 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/1.141, allocations: 81.11 kB / 1.091 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/1.141, allocations: 339.7 kB / 1.092 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/1.141, allocations: 25.7 kB / 1.092 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.141, allocations: 211.2 kB / 1.092 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/1.141, allocations: 74.39 kB / 1.092 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/1.141, allocations: 0 / 1.092 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.141, allocations: 346.6 kB / 1.092 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/1.142, allocations: 244.9 kB / 1.093 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/1.142, allocations: 335.6 kB / 1.093 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/1.142, allocations: 300.8 kB / 1.093 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/1.142, allocations: 4.031 kB / 1.093 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002757/1.145, allocations: 1.01 MB / 1.094 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002543/1.146, allocations: 0.7945 MB / 1.095 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.146, allocations: 0 / 1.095 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/1.148, allocations: 415.6 kB / 1.095 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/1.148, allocations: 111.8 kB / 1.095 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/1.152, allocations: 2.948 MB / 1.098 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/1.153, allocations: 84 kB / 1.098 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/1.153, allocations: 11.19 kB / 1.098 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/1.153, allocations: 10.41 kB / 1.098 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008286/1.154, allocations: 491.5 kB / 1.099 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/1.154, allocations: 0 / 1.099 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/1.154, allocations: 4 kB / 1.099 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/1.154, allocations: 139 kB / 1.099 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/1.154, allocations: 4 kB / 1.099 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005683/1.155, allocations: 71.91 kB / 1.099 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/1.155, allocations: 15.81 kB / 1.099 GB, free: 7.789 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.155, allocations: 112.8 kB / 1.099 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.705e-05/1.155, allocations: 31.62 kB / 1.099 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/1.158, allocations: 1.068 MB / 1.1 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.158, allocations: 4 kB / 1.1 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.158, allocations: 0 / 1.1 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/1.158, allocations: 7.984 kB / 1.1 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003725/1.162, allocations: 1.678 MB / 1.102 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/1.162, allocations: 0 / 1.102 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/1.162, allocations: 79.95 kB / 1.102 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/1.165, allocations: 0.5447 MB / 1.103 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/1.165, allocations: 7.984 kB / 1.103 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004663/1.17, allocations: 4.055 MB / 1.107 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.17, allocations: 7.938 kB / 1.107 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002781/1.172, allocations: 1.103 MB / 1.108 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002856/1.175, allocations: 1.497 MB / 1.109 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/1.176, allocations: 175.3 kB / 1.109 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.435e-05/1.176, allocations: 0 / 1.109 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/1.176, allocations: 83.89 kB / 1.109 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/1.176, allocations: 11.89 kB / 1.109 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/1.176, allocations: 15.86 kB / 1.109 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002877/1.177, allocations: 271.8 kB / 1.11 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001899/1.179, allocations: 203.5 kB / 1.11 GB, free: 14.04 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002539/1.179, allocations: 155.5 kB / 1.11 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001528/1.18, allocations: 0.9685 MB / 1.111 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.18, allocations: 0.625 kB / 1.111 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007364/1.181, allocations: 0.5346 MB / 1.111 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/1.182, allocations: 99.19 kB / 1.112 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/1.183, allocations: 0.7708 MB / 1.112 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006315/1.184, allocations: 0.9581 MB / 1.113 GB, free: 11 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/1.184, allocations: 0 / 1.113 GB, free: 11 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)