Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.184/2.184, allocations: 284.8 MB / 292.1 MB, free: 10.71 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.00159/0.001589, allocations: 183.5 kB / 360.3 MB, free: 7.539 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.654/1.654, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001278/0.001276, allocations: 81.53 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2446/0.2459, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5435/0.7894, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/1.017, allocations: 152.8 MB / 1.112 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/1.017, allocations: 92.5 kB / 1.112 GB, free: 3.875 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.1179/1.135, allocations: 29.83 MB / 1.141 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.135, allocations: 12 kB / 1.141 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/1.137, allocations: 202.8 kB / 1.141 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/1.139, allocations: 488.4 kB / 1.142 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/1.139, allocations: 16 kB / 1.142 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/1.139, allocations: 27.91 kB / 1.142 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001233/1.14, allocations: 434.1 kB / 1.142 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/1.142, allocations: 0.8666 MB / 1.143 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/1.142, allocations: 3.938 kB / 1.143 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.309e-05/1.142, allocations: 8 kB / 1.143 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/1.142, allocations: 56.73 kB / 1.143 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006991/1.149, allocations: 5.571 MB / 1.149 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009649/1.15, allocations: 414.4 kB / 1.149 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/1.151, allocations: 221.3 kB / 1.149 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/1.151, allocations: 4 kB / 1.149 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/1.151, allocations: 39.09 kB / 1.149 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 3.567e-06/1.151, allocations: 0 / 1.149 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002708/1.153, allocations: 0.8318 MB / 1.15 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/1.153, allocations: 55.41 kB / 1.15 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/1.154, allocations: 345.3 kB / 1.151 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/1.154, allocations: 27.3 kB / 1.151 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/1.154, allocations: 299.5 kB / 1.151 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/1.154, allocations: 114.3 kB / 1.151 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/1.155, allocations: 0 / 1.151 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.155, allocations: 358.8 kB / 1.151 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/1.155, allocations: 185.2 kB / 1.151 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/1.156, allocations: 393.5 kB / 1.152 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/1.156, allocations: 252 kB / 1.152 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.157, allocations: 4 kB / 1.152 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002038/1.159, allocations: 0.7005 MB / 1.153 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.159, allocations: 8 kB / 1.153 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.159, allocations: 12.06 kB / 1.153 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008301/1.159, allocations: 154 kB / 1.153 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008652/1.16, allocations: 111.8 kB / 1.153 GB, free: 8.941 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/1.165, allocations: 3.869 MB / 1.157 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/1.165, allocations: 15.98 kB / 1.157 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/1.165, allocations: 24 kB / 1.157 GB, free: 4.691 MB / 0.7605 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.0001816/1.166, allocations: 127.4 kB / 1.157 GB, free: 4.562 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/1.166, allocations: 55.34 kB / 1.157 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/1.168, allocations: 0.5767 MB / 1.158 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.168, allocations: 0 / 1.158 GB, free: 3.902 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.168, allocations: 4 kB / 1.158 GB, free: 3.898 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.579e-06/1.168, allocations: 3.906 kB / 1.158 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/1.171, allocations: 1.168 MB / 1.159 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.171, allocations: 0 / 1.159 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/1.171, allocations: 51.91 kB / 1.159 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007694/1.172, allocations: 144.4 kB / 1.159 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/1.172, allocations: 4 kB / 1.159 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004313/1.176, allocations: 3.851 MB / 1.163 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.176, allocations: 4.031 kB / 1.163 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001802/1.178, allocations: 0.7767 MB / 1.163 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001908/1.18, allocations: 1.153 MB / 1.165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/1.18, allocations: 164.4 kB / 1.165 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/1.181, allocations: 7.938 kB / 1.165 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/1.181, allocations: 11.98 kB / 1.165 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/1.181, allocations: 19.97 kB / 1.165 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/1.181, allocations: 8 kB / 1.165 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0004222/1.182, allocations: 263 kB / 1.165 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001705/1.183, allocations: 127.8 kB / 1.165 GB, free: 11.51 MB / 0.7761 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.0001985/1.184, allocations: 111.2 kB / 1.165 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002004/1.186, allocations: 0.9643 MB / 1.166 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.186, allocations: 0 / 1.166 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/1.187, allocations: 0.6968 MB / 1.167 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/1.188, allocations: 161.3 kB / 1.167 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/1.19, allocations: 0.7653 MB / 1.168 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008616/1.191, allocations: 0.9504 MB / 1.169 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of SimCode: time 8.02e-07/1.191, allocations: 3.281 kB / 1.169 GB, free: 7.656 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)