Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.322/1.322, allocations: 285.5 MB / 292.8 MB, free: 9.766 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.0008898/0.0008898, allocations: 189.2 kB / 361.1 MB, free: 384 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.026/1.026, allocations: 205.1 MB / 0.6195 GB, free: 2.863 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007506/0.0007506, allocations: 85.84 kB / 0.7326 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3508/0.3516, allocations: 121.4 MB / 0.8512 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.4937, allocations: 115.3 MB / 0.9638 GB, free: 56.27 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.9258, allocations: 166.8 MB / 1.127 GB, free: 24.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.9261, allocations: 96.19 kB / 1.127 GB, free: 24.02 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.1668/1.093, allocations: 87.4 MB / 1.212 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/1.093, allocations: 7.531 kB / 1.212 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004061/1.097, allocations: 0.6864 MB / 1.213 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/1.1, allocations: 1.539 MB / 1.214 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.916e-05/1.1, allocations: 76.12 kB / 1.214 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000581/1.101, allocations: 138.9 kB / 1.215 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004363/1.105, allocations: 2.792 MB / 1.217 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005339/1.11, allocations: 3.555 MB / 1.221 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.061e-05/1.11, allocations: 5.781 kB / 1.221 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/1.111, allocations: 4.156 kB / 1.221 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001798/1.111, allocations: 167.1 kB / 1.221 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01504/1.126, allocations: 15.99 MB / 1.236 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/1.127, allocations: 1.058 MB / 1.238 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/1.128, allocations: 0.626 MB / 1.238 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/1.128, allocations: 97.52 kB / 1.238 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/1.128, allocations: 43.22 kB / 1.238 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=72): time 2.585e-06/1.128, allocations: 0 / 1.238 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76): time 0.00399/1.132, allocations: 2.819 MB / 1.241 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/1.132, allocations: 111.5 kB / 1.241 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/1.133, allocations: 0.8442 MB / 1.242 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/1.133, allocations: 29.7 kB / 1.242 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/1.133, allocations: 1.005 MB / 1.243 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/1.133, allocations: 268.2 kB / 1.243 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/1.133, allocations: 0 / 1.243 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.134, allocations: 406.7 kB / 1.244 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000719/1.134, allocations: 0.6325 MB / 1.244 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009716/1.135, allocations: 1.165 MB / 1.245 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/1.137, allocations: 1.002 MB / 1.246 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/1.137, allocations: 8 kB / 1.246 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002875/1.14, allocations: 2.06 MB / 1.248 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/1.14, allocations: 8 kB / 1.248 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/1.14, allocations: 19.94 kB / 1.248 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/1.14, allocations: 167.9 kB / 1.249 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/1.141, allocations: 335.4 kB / 1.249 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/1.141, allocations: 35.86 kB / 1.249 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008393/1.142, allocations: 95.72 kB / 1.249 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.342e-05/1.142, allocations: 60 kB / 1.249 GB, free: 11.79 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001721/1.142, allocations: 160.3 kB / 1.249 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/1.143, allocations: 102.8 kB / 1.249 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/1.144, allocations: 1.353 MB / 1.251 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/1.145, allocations: 8 kB / 1.251 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.145, allocations: 4 kB / 1.251 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.145, allocations: 3.984 kB / 1.251 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004361/1.149, allocations: 3.366 MB / 1.254 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.149, allocations: 4 kB / 1.254 GB, free: 6.645 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/1.15, allocations: 151.8 kB / 1.254 GB, free: 6.496 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003138/1.15, allocations: 143.6 kB / 1.254 GB, free: 6.344 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/1.15, allocations: 4 kB / 1.254 GB, free: 6.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.15, allocations: 11.94 kB / 1.254 GB, free: 6.328 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.15, allocations: 7.984 kB / 1.254 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0018/1.152, allocations: 1.71 MB / 1.256 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001922/1.154, allocations: 2.094 MB / 1.258 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/1.154, allocations: 299.8 kB / 1.258 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/1.154, allocations: 4 kB / 1.258 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/1.155, allocations: 55.83 kB / 1.258 GB, free: 1.914 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.846e-05/1.155, allocations: 40.59 kB / 1.258 GB, free: 1.871 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/1.155, allocations: 28 kB / 1.258 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0006344/1.156, allocations: 0.6283 MB / 1.259 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001658/1.157, allocations: 388.1 kB / 1.259 GB, free: 0.8242 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(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.00017/1.157, allocations: 114.9 kB / 1.259 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001696/1.159, allocations: 1.748 MB / 1.261 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.159, allocations: 0 / 1.261 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007548/1.16, allocations: 0.9084 MB / 1.262 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/1.161, allocations: 209.9 kB / 1.262 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/1.165, allocations: 3.108 MB / 1.265 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001847/1.167, allocations: 2.057 MB / 1.267 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of SimCode: time 2.61e-07/1.167, allocations: 0 / 1.267 GB, free: 8.391 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)