Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",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.3/1.3, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009536/0.0009536, allocations: 181.3 kB / 361.1 MB, free: 7.098 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.005/1.005, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007505/0.0007505, allocations: 85.45 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.174/0.1748, allocations: 121.5 MB / 0.8512 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.5901, allocations: 115.3 MB / 0.9638 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.7398, allocations: 166.2 MB / 1.126 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.74, allocations: 92.45 kB / 1.126 GB, free: 5.609 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.03952/0.7795, allocations: 18.17 MB / 1.144 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.7796, allocations: 8.844 kB / 1.144 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007509/0.7803, allocations: 95.59 kB / 1.144 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.7806, allocations: 265.5 kB / 1.144 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.7806, allocations: 8 kB / 1.144 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.7807, allocations: 8 kB / 1.144 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003872/0.7811, allocations: 270.6 kB / 1.145 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.7815, allocations: 341.1 kB / 1.145 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.7815, allocations: 7.984 kB / 1.145 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.7815, allocations: 0 / 1.145 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.7816, allocations: 28.83 kB / 1.145 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.7832, allocations: 1.683 MB / 1.147 GB, free: 496 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.7835, allocations: 283.3 kB / 1.147 GB, free: 196 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.7837, allocations: 169.7 kB / 1.147 GB, free: 20 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.7839, allocations: 81.92 kB / 1.147 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.7839, allocations: 46.48 kB / 1.147 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.7839, allocations: 0 / 1.147 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.002738/0.7867, allocations: 1.098 MB / 1.148 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.7867, allocations: 85.11 kB / 1.148 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.7868, allocations: 159.5 kB / 1.148 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.7869, allocations: 25.7 kB / 1.148 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.7869, allocations: 140.3 kB / 1.149 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.844e-05/0.787, allocations: 110.3 kB / 1.149 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.787, allocations: 0 / 1.149 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.7871, allocations: 334.8 kB / 1.149 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.7874, allocations: 219.9 kB / 1.149 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.7878, allocations: 309.2 kB / 1.149 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006035/0.7884, allocations: 306 kB / 1.15 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.7884, allocations: 0 / 1.15 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001046/0.7894, allocations: 0.6219 MB / 1.15 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.7897, allocations: 0.877 MB / 1.151 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7897, allocations: 1.031 kB / 1.151 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7897, allocations: 4 kB / 1.151 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009243/0.7906, allocations: 151.8 kB / 1.151 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.7907, allocations: 4 kB / 1.151 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.791, allocations: 35.95 kB / 1.151 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.7911, allocations: 22 kB / 1.151 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.7911, allocations: 4 kB / 1.151 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008346/0.7919, allocations: 463.5 kB / 1.152 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.792, allocations: 0 / 1.152 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/0.792, allocations: 4.281 kB / 1.152 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000691/0.7927, allocations: 139.8 kB / 1.152 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7927, allocations: 4.656 kB / 1.152 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.793, allocations: 31.97 kB / 1.152 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.793, allocations: 19.98 kB / 1.152 GB, free: 10.6 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.7931, allocations: 112.8 kB / 1.152 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.7932, allocations: 19.72 kB / 1.152 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.7943, allocations: 0.6472 MB / 1.153 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.7943, allocations: 4 kB / 1.153 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.7944, allocations: 13.47 kB / 1.153 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.7944, allocations: 3.984 kB / 1.153 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.7962, allocations: 1.282 MB / 1.154 GB, free: 8.426 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.7962, allocations: 4 kB / 1.154 GB, free: 8.422 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/0.7968, allocations: 128.1 kB / 1.154 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.7968, allocations: 4 kB / 1.154 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.7968, allocations: 4 kB / 1.154 GB, free: 8.289 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.7969, allocations: 5.875 kB / 1.154 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7969, allocations: 3.938 kB / 1.154 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008242/0.7977, allocations: 0.7784 MB / 1.155 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009357/0.7986, allocations: 1.154 MB / 1.156 GB, free: 6.168 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.7988, allocations: 144.8 kB / 1.156 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.7988, allocations: 6.062 kB / 1.156 GB, free: 6.004 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.7992, allocations: 27.97 kB / 1.156 GB, free: 5.977 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/0.7993, allocations: 31.92 kB / 1.156 GB, free: 5.945 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.7993, allocations: 11.98 kB / 1.156 GB, free: 5.934 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.836e-05/0.7994, allocations: 142.4 kB / 1.157 GB, free: 5.797 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001634/0.801, allocations: 151.9 kB / 1.157 GB, free: 5.648 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002008/0.8012, allocations: 154.8 kB / 1.157 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009001/0.8021, allocations: 0.7126 MB / 1.157 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8022, allocations: 4.062 kB / 1.157 GB, free: 4.773 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.8024, allocations: 231.7 kB / 1.158 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.8028, allocations: 32.06 kB / 1.158 GB, free: 4.52 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.8039, allocations: 0.5939 MB / 1.158 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005485/0.8045, allocations: 0.8316 MB / 1.159 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of SimCode: time 2.51e-07/0.8045, allocations: 0 / 1.159 GB, free: 3.023 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)