Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.12/2.12, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001585/0.001585, allocations: 177.3 kB / 360.3 MB, free: 7.523 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.616/1.616, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001198/0.001197, allocations: 86.8 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2459/0.2471, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5418/0.789, allocations: 115.2 MB / 0.9627 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2567/1.046, allocations: 167.5 MB / 1.126 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/1.046, allocations: 89.73 kB / 1.126 GB, free: 5.195 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.07138/1.118, allocations: 17.94 MB / 1.144 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.118, allocations: 19.94 kB / 1.144 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/1.119, allocations: 107.5 kB / 1.144 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/1.12, allocations: 254.7 kB / 1.144 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/1.12, allocations: 9.812 kB / 1.144 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/1.12, allocations: 12 kB / 1.144 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000683/1.12, allocations: 236.8 kB / 1.145 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/1.121, allocations: 330.2 kB / 1.145 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/1.121, allocations: 0 / 1.145 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/1.121, allocations: 0 / 1.145 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.277e-05/1.121, allocations: 28.36 kB / 1.145 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/1.125, allocations: 1.698 MB / 1.147 GB, free: 288 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/1.125, allocations: 209.1 kB / 1.147 GB, free: 60 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/1.125, allocations: 97.69 kB / 1.147 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/1.126, allocations: 85.09 kB / 1.147 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/1.126, allocations: 46.5 kB / 1.147 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 2.484e-06/1.126, allocations: 0 / 1.147 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002857/1.129, allocations: 0.6957 MB / 1.148 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/1.129, allocations: 81.3 kB / 1.148 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/1.129, allocations: 175.2 kB / 1.148 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/1.129, allocations: 25.7 kB / 1.148 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/1.129, allocations: 169.7 kB / 1.148 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.734e-05/1.129, allocations: 70.86 kB / 1.148 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/1.129, allocations: 0 / 1.148 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.129, allocations: 342.8 kB / 1.148 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/1.13, allocations: 128 kB / 1.149 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/1.13, allocations: 201.4 kB / 1.149 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/1.131, allocations: 191.7 kB / 1.149 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.131, allocations: 4 kB / 1.149 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001745/1.133, allocations: 0.514 MB / 1.149 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.133, allocations: 4 kB / 1.149 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.133, allocations: 320 / 1.149 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006456/1.133, allocations: 143.3 kB / 1.15 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/1.134, allocations: 59.91 kB / 1.15 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003938/1.138, allocations: 3.831 MB / 1.153 GB, free: 8.805 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/1.138, allocations: 11.94 kB / 1.153 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/1.138, allocations: 11.98 kB / 1.153 GB, free: 8.781 MB / 0.7605 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001808/1.138, allocations: 116.8 kB / 1.154 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/1.138, allocations: 27.72 kB / 1.154 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/1.14, allocations: 495.8 kB / 1.154 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/1.14, allocations: 4 kB / 1.154 GB, free: 8.125 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.14, allocations: 3.938 kB / 1.154 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.14, allocations: 4 kB / 1.154 GB, free: 8.117 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/1.143, allocations: 0.9732 MB / 1.155 GB, free: 7.066 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.143, allocations: 4 kB / 1.155 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/1.143, allocations: 31.92 kB / 1.155 GB, free: 7.031 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006167/1.144, allocations: 131.3 kB / 1.155 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/1.144, allocations: 6.25 kB / 1.155 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003843/1.148, allocations: 3.83 MB / 1.159 GB, free: 2.781 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.148, allocations: 5.172 kB / 1.159 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001621/1.149, allocations: 0.74 MB / 1.16 GB, free: 1.934 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001823/1.151, allocations: 1.119 MB / 1.161 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/1.151, allocations: 124.8 kB / 1.161 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/1.152, allocations: 4 kB / 1.161 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/1.152, allocations: 15.98 kB / 1.161 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/1.152, allocations: 19.89 kB / 1.161 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/1.152, allocations: 8 kB / 1.161 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0002031/1.152, allocations: 152 kB / 1.161 GB, free: 376 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001568/1.154, allocations: 91.94 kB / 1.161 GB, free: 284 kB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002782/1.154, allocations: 143.1 kB / 1.161 GB, free: 132 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001285/1.155, allocations: 0.5163 MB / 1.162 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.155, allocations: 4 kB / 1.162 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007928/1.156, allocations: 373.7 kB / 1.162 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/1.157, allocations: 31.89 kB / 1.162 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/1.158, allocations: 472.6 kB / 1.163 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/1.159, allocations: 0.8087 MB / 1.163 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of SimCode: time 8.82e-07/1.159, allocations: 1.312 kB / 1.163 GB, free: 13.83 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)