Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.278/1.278, 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.000928/0.000928, allocations: 181.3 kB / 361.1 MB, free: 7.082 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.9996/0.9996, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007694/0.0007693, allocations: 88.03 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1748/0.1756, allocations: 121.4 MB / 0.8512 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.5818, allocations: 115.3 MB / 0.9638 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.7319, allocations: 167.6 MB / 1.127 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.7322, allocations: 89.69 kB / 1.127 GB, free: 4.324 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.04007/0.7723, allocations: 18.22 MB / 1.145 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.7723, allocations: 16 kB / 1.145 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008457/0.7732, allocations: 111.5 kB / 1.145 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.7735, allocations: 251.3 kB / 1.146 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.7735, allocations: 8 kB / 1.146 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.7735, allocations: 12 kB / 1.146 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003459/0.7739, allocations: 240.8 kB / 1.146 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.7743, allocations: 331.5 kB / 1.146 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7743, allocations: 3.938 kB / 1.146 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.7743, allocations: 1.5 kB / 1.146 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.7744, allocations: 20.42 kB / 1.146 GB, free: 1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.7762, allocations: 1.696 MB / 1.148 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.7764, allocations: 213.3 kB / 1.148 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.7766, allocations: 93.69 kB / 1.148 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.7767, allocations: 85.09 kB / 1.148 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.7767, allocations: 42.56 kB / 1.148 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.7767, allocations: 0 / 1.148 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.00157/0.7783, allocations: 0.7027 MB / 1.149 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.7783, allocations: 85.23 kB / 1.149 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.7785, allocations: 178.9 kB / 1.149 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.7785, allocations: 25.7 kB / 1.149 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.7786, allocations: 159.9 kB / 1.149 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.7786, allocations: 78.84 kB / 1.149 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.7787, allocations: 0 / 1.149 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.396e-05/0.7787, allocations: 339.8 kB / 1.15 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.7789, allocations: 123.9 kB / 1.15 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.7791, allocations: 204.7 kB / 1.15 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.7795, allocations: 187.8 kB / 1.15 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.7795, allocations: 0 / 1.15 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009347/0.7804, allocations: 0.516 MB / 1.151 GB, free: 12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.7805, allocations: 8 kB / 1.151 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.7805, allocations: 0 / 1.151 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003671/0.7809, allocations: 147.6 kB / 1.151 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.7811, allocations: 51.91 kB / 1.151 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.7834, allocations: 3.834 MB / 1.155 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.7836, allocations: 16.55 kB / 1.155 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.7837, allocations: 12 kB / 1.155 GB, free: 7.645 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.0001099/0.7838, allocations: 111 kB / 1.155 GB, free: 7.531 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.7839, allocations: 27.81 kB / 1.155 GB, free: 7.504 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009179/0.7848, allocations: 493.3 kB / 1.155 GB, free: 7.004 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7848, allocations: 4 kB / 1.155 GB, free: 7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7848, allocations: 0 / 1.155 GB, free: 7 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.7848, allocations: 3.984 kB / 1.155 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.7862, allocations: 0.9684 MB / 1.156 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7862, allocations: 8.031 kB / 1.156 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.7864, allocations: 32.86 kB / 1.156 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003367/0.7867, allocations: 135.3 kB / 1.156 GB, free: 5.766 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.7868, allocations: 7.984 kB / 1.157 GB, free: 5.758 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/0.789, allocations: 3.821 MB / 1.16 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.789, allocations: 3.938 kB / 1.16 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008345/0.7899, allocations: 0.7436 MB / 1.161 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009188/0.7908, allocations: 1.122 MB / 1.162 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.7909, allocations: 132.7 kB / 1.162 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.791, allocations: 5.438 kB / 1.162 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.7912, allocations: 15.98 kB / 1.162 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.7913, allocations: 16.83 kB / 1.162 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.7913, allocations: 12 kB / 1.162 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0001022/0.7914, allocations: 144.2 kB / 1.162 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009652/0.7924, allocations: 95.92 kB / 1.162 GB, free: 15.15 MB / 0.7761 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.0002057/0.7926, allocations: 142.8 kB / 1.163 GB, free: 15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006821/0.7933, allocations: 0.5187 MB / 1.163 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7933, allocations: 4 kB / 1.163 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.7937, allocations: 368.5 kB / 1.163 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.794, allocations: 35.59 kB / 1.163 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007625/0.7948, allocations: 468.7 kB / 1.164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/0.7952, allocations: 0.8134 MB / 1.165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of SimCode: time 2.7e-07/0.7952, allocations: 0 / 1.165 GB, free: 12.7 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)