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.TestImpedance.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.TestImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.265/1.265, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.0009611/0.0009611, allocations: 177.2 kB / 316 MB, free: 3.539 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.113/1.113, allocations: 205.1 MB / 0.5667 GB, free: 15.6 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.0008254/0.0008255, allocations: 86.14 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3105/0.3113, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.4641, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.9133, allocations: 147.8 MB / 1.029 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.9137, allocations: 90.94 kB / 1.029 GB, free: 8.012 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.06719/0.9809, allocations: 29.84 MB / 1.058 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.9809, allocations: 8 kB / 1.058 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.9822, allocations: 198.9 kB / 1.058 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/0.983, allocations: 491.8 kB / 1.059 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.983, allocations: 16 kB / 1.059 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.9831, allocations: 27.62 kB / 1.059 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006132/0.9837, allocations: 433.8 kB / 1.059 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.9846, allocations: 0.8624 MB / 1.06 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.9847, allocations: 7.922 kB / 1.06 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.9847, allocations: 11.91 kB / 1.06 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.419e-05/0.9848, allocations: 56 kB / 1.06 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.989, allocations: 5.551 MB / 1.066 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.9895, allocations: 430.9 kB / 1.066 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.9898, allocations: 226.9 kB / 1.066 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.9898, allocations: 7.984 kB / 1.066 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.9898, allocations: 37.62 kB / 1.066 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 2.354e-06/0.9898, allocations: 0 / 1.066 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001461/0.9913, allocations: 0.8293 MB / 1.067 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.9913, allocations: 59.41 kB / 1.067 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.9917, allocations: 347.9 kB / 1.068 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.9917, allocations: 25.7 kB / 1.068 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.9919, allocations: 304.9 kB / 1.068 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.814e-05/0.992, allocations: 113.1 kB / 1.068 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.992, allocations: 0 / 1.068 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9922, allocations: 356.4 kB / 1.068 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.9924, allocations: 183.7 kB / 1.068 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.9927, allocations: 394.1 kB / 1.069 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.9931, allocations: 243 kB / 1.069 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9931, allocations: 4 kB / 1.069 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001074/0.9941, allocations: 0.7171 MB / 1.07 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.9942, allocations: 8 kB / 1.07 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.9942, allocations: 4.844 kB / 1.07 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000464/0.9947, allocations: 159.7 kB / 1.07 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.9951, allocations: 107.8 kB / 1.07 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/0.998, allocations: 3.855 MB / 1.074 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.9984, allocations: 12.14 kB / 1.074 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.9984, allocations: 31.31 kB / 1.074 GB, free: 15.58 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.9986, allocations: 130.4 kB / 1.074 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.9987, allocations: 55.34 kB / 1.074 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009631/0.9997, allocations: 0.5716 MB / 1.075 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.9997, allocations: 4 kB / 1.075 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.9997, allocations: 4 kB / 1.075 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.9997, allocations: 7.875 kB / 1.075 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/1.001, allocations: 1.168 MB / 1.076 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.001, allocations: 0 / 1.076 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/1.002, allocations: 55.16 kB / 1.076 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/1.002, allocations: 137.4 kB / 1.076 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/1.002, allocations: 4 kB / 1.076 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002832/1.005, allocations: 3.845 MB / 1.08 GB, free: 9.684 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.005, allocations: 7.969 kB / 1.08 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009363/1.006, allocations: 0.7715 MB / 1.08 GB, free: 8.934 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001093/1.007, allocations: 1.163 MB / 1.082 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/1.007, allocations: 159.8 kB / 1.082 GB, free: 7.641 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/1.007, allocations: 4 kB / 1.082 GB, free: 7.637 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/1.008, allocations: 15.98 kB / 1.082 GB, free: 7.621 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/1.008, allocations: 27.69 kB / 1.082 GB, free: 7.598 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/1.008, allocations: 11.81 kB / 1.082 GB, free: 7.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0002786/1.008, allocations: 260.6 kB / 1.082 GB, free: 7.391 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00113/1.009, allocations: 127.9 kB / 1.082 GB, free: 7.266 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/1.009, allocations: 111.2 kB / 1.082 GB, free: 7.148 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001128/1.01, allocations: 0.954 MB / 1.083 GB, free: 6.258 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.01, allocations: 0 / 1.083 GB, free: 6.258 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007289/1.011, allocations: 0.698 MB / 1.084 GB, free: 5.547 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/1.012, allocations: 164 kB / 1.084 GB, free: 5.414 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/1.013, allocations: 0.747 MB / 1.085 GB, free: 4.699 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/1.014, allocations: 0.9576 MB / 1.086 GB, free: 3.727 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.014, allocations: 3.938 kB / 1.086 GB, free: 3.723 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)