Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.261/1.261, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.001012/0.001012, allocations: 181.3 kB / 316 MB, free: 3.523 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.141/1.141, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0008202/0.0008201, allocations: 87.27 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3246/0.3255, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.4836, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4718/0.9554, allocations: 161 MB / 1.042 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.9557, allocations: 90.06 kB / 1.042 GB, free: 11.4 MB / 0.6667 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.04207/0.9978, allocations: 18.19 MB / 1.06 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.9978, allocations: 11.94 kB / 1.06 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007758/0.9986, allocations: 99.5 kB / 1.06 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.9989, allocations: 254 kB / 1.06 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.9989, allocations: 8 kB / 1.06 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.999, allocations: 12 kB / 1.06 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003962/0.9994, allocations: 266.7 kB / 1.06 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.9998, allocations: 340.8 kB / 1.061 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.9998, allocations: 4 kB / 1.061 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.9999, allocations: 0 / 1.061 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.9999, allocations: 23.23 kB / 1.061 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/1.002, allocations: 1.69 MB / 1.062 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/1.002, allocations: 284 kB / 1.063 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/1.002, allocations: 170.1 kB / 1.063 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/1.002, allocations: 85.09 kB / 1.063 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/1.002, allocations: 46 kB / 1.063 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/1.002, allocations: 0 / 1.063 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.002862/1.005, allocations: 1.097 MB / 1.064 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/1.005, allocations: 85.11 kB / 1.064 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/1.005, allocations: 155.3 kB / 1.064 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/1.005, allocations: 25.7 kB / 1.064 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/1.006, allocations: 138.9 kB / 1.064 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/1.006, allocations: 115.1 kB / 1.064 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/1.006, allocations: 0 / 1.064 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.006, allocations: 340.5 kB / 1.065 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/1.006, allocations: 214.5 kB / 1.065 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/1.006, allocations: 309.9 kB / 1.065 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/1.007, allocations: 308.8 kB / 1.066 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/1.007, allocations: 0 / 1.066 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001034/1.008, allocations: 0.6153 MB / 1.066 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003176/1.008, allocations: 0.878 MB / 1.067 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.008, allocations: 0 / 1.067 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/1.008, allocations: 4 kB / 1.067 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/1.009, allocations: 151.8 kB / 1.067 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.009, allocations: 7.938 kB / 1.067 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/1.01, allocations: 38.78 kB / 1.067 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/1.01, allocations: 19.98 kB / 1.067 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/1.01, allocations: 7.906 kB / 1.067 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008542/1.011, allocations: 463.5 kB / 1.068 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/1.011, allocations: 0 / 1.068 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.96e-06/1.011, allocations: 7.938 kB / 1.068 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/1.012, allocations: 131.3 kB / 1.068 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/1.012, allocations: 7.984 kB / 1.068 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/1.012, allocations: 31.97 kB / 1.068 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/1.012, allocations: 15.56 kB / 1.068 GB, free: 4.805 MB / 0.6823 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.0001201/1.012, allocations: 112.9 kB / 1.068 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/1.012, allocations: 19.72 kB / 1.068 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/1.013, allocations: 0.6525 MB / 1.069 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.013, allocations: 4 kB / 1.069 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.013, allocations: 8 kB / 1.069 GB, free: 4.188 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.013, allocations: 3.984 kB / 1.069 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/1.015, allocations: 1.278 MB / 1.07 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.015, allocations: 4 kB / 1.07 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006767/1.016, allocations: 120.1 kB / 1.07 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/1.016, allocations: 7.984 kB / 1.07 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/1.016, allocations: 7.312 kB / 1.07 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.016, allocations: 4 kB / 1.07 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.016, allocations: 3.938 kB / 1.07 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008534/1.017, allocations: 0.7882 MB / 1.071 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009076/1.018, allocations: 1.147 MB / 1.072 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/1.018, allocations: 146.7 kB / 1.072 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/1.018, allocations: 4 kB / 1.072 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/1.018, allocations: 31.95 kB / 1.072 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/1.018, allocations: 27.28 kB / 1.072 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/1.018, allocations: 15.75 kB / 1.072 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.557e-05/1.018, allocations: 132.4 kB / 1.072 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001711/1.02, allocations: 148.9 kB / 1.072 GB, free: 0.6211 MB / 0.6823 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.0002517/1.02, allocations: 155 kB / 1.073 GB, free: 472 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009954/1.021, allocations: 0.7158 MB / 1.073 GB, free: 15.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.021, allocations: 7.953 kB / 1.073 GB, free: 15.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/1.022, allocations: 234.7 kB / 1.074 GB, free: 15.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/1.022, allocations: 28.28 kB / 1.074 GB, free: 15.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/1.023, allocations: 0.5896 MB / 1.074 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/1.024, allocations: 0.8373 MB / 1.075 GB, free: 14.39 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/1.024, allocations: 0 / 1.075 GB, free: 14.39 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)