Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.261/1.261, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.0009738/0.0009737, allocations: 184.6 kB / 316 MB, free: 3.617 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.253/1.253, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.001096/0.001096, allocations: 79.45 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3705/0.3716, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.5333, allocations: 106.3 MB / 0.8847 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5256/1.059, allocations: 148.2 MB / 1.029 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/1.059, allocations: 93.11 kB / 1.029 GB, free: 7.992 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.04811/1.107, allocations: 20.65 MB / 1.05 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.107, allocations: 8 kB / 1.05 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008448/1.108, allocations: 131.3 kB / 1.05 GB, free: 6.527 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/1.109, allocations: 382.4 kB / 1.05 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.109, allocations: 12 kB / 1.05 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/1.109, allocations: 16 kB / 1.05 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004278/1.109, allocations: 288 kB / 1.05 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006504/1.11, allocations: 0.5453 MB / 1.051 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.11, allocations: 0 / 1.051 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/1.11, allocations: 4 kB / 1.051 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-05/1.11, allocations: 47.28 kB / 1.051 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/1.113, allocations: 3.303 MB / 1.054 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/1.113, allocations: 292.3 kB / 1.055 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/1.113, allocations: 159 kB / 1.055 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/1.113, allocations: 4 kB / 1.055 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/1.113, allocations: 38 kB / 1.055 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=26): time 1.784e-06/1.113, allocations: 0 / 1.055 GB, free: 1.668 MB / 0.6667 GB Notification: Performance of matching and sorting (n=27): time 0.001063/1.114, allocations: 0.5793 MB / 1.055 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/1.115, allocations: 55.64 kB / 1.055 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/1.115, allocations: 253 kB / 1.056 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/1.115, allocations: 25.7 kB / 1.056 GB, free: 0.8711 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.743e-05/1.115, allocations: 208.7 kB / 1.056 GB, free: 0.6797 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.834e-05/1.115, allocations: 96.72 kB / 1.056 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/1.115, allocations: 4 kB / 1.056 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.115, allocations: 339.8 kB / 1.056 GB, free: 272 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/1.115, allocations: 129.9 kB / 1.056 GB, free: 184 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/1.116, allocations: 251.5 kB / 1.057 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/1.116, allocations: 170.4 kB / 1.057 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/1.116, allocations: 0 / 1.057 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007162/1.117, allocations: 488.7 kB / 1.057 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.117, allocations: 4 kB / 1.057 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.117, allocations: 7.938 kB / 1.057 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/1.117, allocations: 87.92 kB / 1.057 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/1.117, allocations: 83.02 kB / 1.057 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.117, allocations: 7.938 kB / 1.057 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/1.117, allocations: 27.97 kB / 1.057 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/1.117, allocations: 19.44 kB / 1.057 GB, free: 15.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.882e-05/1.118, allocations: 110.6 kB / 1.058 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/1.118, allocations: 35.53 kB / 1.058 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/1.118, allocations: 421.1 kB / 1.058 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.118, allocations: 11.98 kB / 1.058 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.118, allocations: 0 / 1.058 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/1.118, allocations: 0 / 1.058 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/1.12, allocations: 0.8814 MB / 1.059 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.12, allocations: 4 kB / 1.059 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/1.12, allocations: 63.05 kB / 1.059 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/1.12, allocations: 78.27 kB / 1.059 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/1.12, allocations: 0 / 1.059 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.12, allocations: 4 kB / 1.059 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.12, allocations: 0 / 1.059 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006742/1.121, allocations: 0.5452 MB / 1.06 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008772/1.122, allocations: 0.92 MB / 1.06 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/1.122, allocations: 138.3 kB / 1.061 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/1.122, allocations: 0 / 1.061 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/1.122, allocations: 15.98 kB / 1.061 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/1.122, allocations: 19.91 kB / 1.061 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/1.122, allocations: 11.31 kB / 1.061 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001955/1.122, allocations: 195.3 kB / 1.061 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00103/1.123, allocations: 87.83 kB / 1.061 GB, free: 11.98 MB / 0.6823 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001477/1.124, allocations: 104 kB / 1.061 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006623/1.124, allocations: 0.6 MB / 1.062 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.124, allocations: 0 / 1.062 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/1.125, allocations: 419.7 kB / 1.062 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/1.125, allocations: 99.5 kB / 1.062 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/1.126, allocations: 0.5152 MB / 1.063 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004772/1.127, allocations: 0.8636 MB / 1.063 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/1.127, allocations: 0 / 1.063 GB, free: 9.414 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)