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.ACACTransformerFull.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.ACACTransformerFull,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",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.309/1.309, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009463/0.0009463, allocations: 181.2 kB / 361.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9928/0.9928, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.00074/0.00074, allocations: 89.55 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1695/0.1702, allocations: 121.5 MB / 0.8512 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.5623, allocations: 115.3 MB / 0.9638 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.7227, allocations: 179.2 MB / 1.139 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.7229, allocations: 88.59 kB / 1.139 GB, free: 8.598 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.1011/0.8241, allocations: 45.24 MB / 1.183 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.484e-05/0.8241, allocations: 8 kB / 1.183 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008787/0.8329, allocations: 1.253 MB / 1.184 GB, free: 9.914 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009797/0.8339, allocations: 0.6224 MB / 1.185 GB, free: 9.246 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.8339, allocations: 20 kB / 1.185 GB, free: 9.227 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.8341, allocations: 32 kB / 1.185 GB, free: 9.195 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002035/0.8361, allocations: 1.346 MB / 1.186 GB, free: 7.848 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.838, allocations: 1.383 MB / 1.188 GB, free: 6.391 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.838, allocations: 0 / 1.188 GB, free: 6.391 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.8381, allocations: 11.92 kB / 1.188 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003276/0.8385, allocations: 133.5 kB / 1.188 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009633/0.8481, allocations: 6.563 MB / 1.194 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.8491, allocations: 0.8356 MB / 1.195 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/0.8499, allocations: 0.5717 MB / 1.195 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/0.8518, allocations: 1.482 MB / 1.197 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.8518, allocations: 43.5 kB / 1.197 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=73): time 2.455e-06/0.8518, allocations: 4 kB / 1.197 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=107): time 0.009978/0.8618, allocations: 4.18 MB / 1.201 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.8618, allocations: 90.05 kB / 1.201 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004801/0.8623, allocations: 474 kB / 1.202 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.56e-05/0.8624, allocations: 25.7 kB / 1.202 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.8626, allocations: 360.1 kB / 1.202 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.8629, allocations: 354.7 kB / 1.202 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/0.863, allocations: 0 / 1.202 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8631, allocations: 390.7 kB / 1.203 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.8641, allocations: 0.7601 MB / 1.203 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.8653, allocations: 1.082 MB / 1.204 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.8671, allocations: 1.018 MB / 1.205 GB, free: 3.391 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.8671, allocations: 4 kB / 1.205 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006402/0.8735, allocations: 2.941 MB / 1.208 GB, free: 436 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001091/0.8746, allocations: 3.907 MB / 1.212 GB, free: 12.21 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.8747, allocations: 12 kB / 1.212 GB, free: 12.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00363/0.8783, allocations: 0.953 MB / 1.213 GB, free: 11.24 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.8802, allocations: 395.4 kB / 1.213 GB, free: 10.85 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009861/0.8901, allocations: 8.369 MB / 1.222 GB, free: 2.121 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.892, allocations: 207.6 kB / 1.222 GB, free: 1.918 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.8921, allocations: 63.97 kB / 1.222 GB, free: 1.855 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/0.8921, allocations: 4 kB / 1.222 GB, free: 1.852 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004345/0.8965, allocations: 2.332 MB / 1.224 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.8965, allocations: 15.94 kB / 1.224 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.8981, allocations: 0.5673 MB / 1.225 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.9, allocations: 415.3 kB / 1.225 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007821/0.9079, allocations: 8.082 MB / 1.233 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.9096, allocations: 195.7 kB / 1.233 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.9097, allocations: 61.12 kB / 1.233 GB, free: 5.723 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002619/0.91, allocations: 136.4 kB / 1.233 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.9102, allocations: 90.91 kB / 1.233 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006914/0.9171, allocations: 3.001 MB / 1.236 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.9171, allocations: 12 kB / 1.236 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.9172, allocations: 10 kB / 1.236 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.9172, allocations: 3.984 kB / 1.236 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008442/0.9256, allocations: 4.568 MB / 1.241 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.9256, allocations: 4 kB / 1.241 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.9272, allocations: 296.2 kB / 1.241 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003622/0.9308, allocations: 1.031 MB / 1.242 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.832e-05/0.931, allocations: 15.97 kB / 1.242 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/0.9421, allocations: 9.698 MB / 1.252 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.9422, allocations: 6.094 kB / 1.252 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2815/1.224, allocations: 3.116 MB / 1.255 GB, free: 198.4 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005296/1.229, allocations: 3.519 MB / 1.258 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/1.229, allocations: 337.2 kB / 1.258 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/1.23, allocations: 10.73 kB / 1.259 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/1.232, allocations: 233.5 kB / 1.259 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/1.232, allocations: 62.58 kB / 1.259 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/1.232, allocations: 50.16 kB / 1.259 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0003448/1.232, allocations: 372.2 kB / 1.259 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002655/1.235, allocations: 0.5102 MB / 1.26 GB, free: 197.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002171/1.235, allocations: 128.3 kB / 1.26 GB, free: 197 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005573/1.241, allocations: 3.911 MB / 1.264 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.241, allocations: 0 / 1.264 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/1.243, allocations: 1.531 MB / 1.265 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/1.244, allocations: 112.4 kB / 1.265 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007582/1.251, allocations: 2.647 MB / 1.268 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008153/1.252, allocations: 1.183 MB / 1.269 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/1.252, allocations: 0 / 1.269 GB, free: 194.6 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)