Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.143/2.143, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001541/0.001541, allocations: 181.3 kB / 360.3 MB, free: 7.57 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.642/1.642, 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.001228/0.001227, allocations: 94.27 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2519/0.2532, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5779/0.8312, allocations: 115.2 MB / 0.9628 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2625/1.094, allocations: 179 MB / 1.138 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/1.094, allocations: 89.44 kB / 1.138 GB, free: 9.684 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.1845/1.279, allocations: 45.23 MB / 1.182 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.279, allocations: 12 kB / 1.182 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/1.297, allocations: 1.255 MB / 1.183 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/1.299, allocations: 0.6263 MB / 1.184 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/1.299, allocations: 16 kB / 1.184 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/1.3, allocations: 36 kB / 1.184 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004327/1.304, allocations: 1.342 MB / 1.185 GB, free: 8.906 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/1.308, allocations: 1.379 MB / 1.186 GB, free: 7.453 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/1.308, allocations: 11.94 kB / 1.186 GB, free: 7.441 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/1.308, allocations: 4 kB / 1.186 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005848/1.309, allocations: 133.5 kB / 1.187 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01879/1.327, allocations: 6.563 MB / 1.193 GB, free: 412 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/1.33, allocations: 0.8289 MB / 1.194 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/1.331, allocations: 0.5715 MB / 1.194 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003737/1.335, allocations: 1.485 MB / 1.196 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/1.335, allocations: 42.55 kB / 1.196 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=73): time 3.427e-06/1.335, allocations: 0 / 1.196 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=107): time 0.02064/1.356, allocations: 4.177 MB / 1.2 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/1.356, allocations: 90.05 kB / 1.2 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/1.357, allocations: 481.9 kB / 1.2 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002656/1.357, allocations: 25.7 kB / 1.2 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/1.358, allocations: 359.1 kB / 1.201 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004847/1.358, allocations: 350.7 kB / 1.201 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/1.358, allocations: 5.406 kB / 1.201 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002309/1.359, allocations: 390.8 kB / 1.201 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002211/1.361, allocations: 0.7601 MB / 1.202 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002437/1.363, allocations: 1.074 MB / 1.203 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003745/1.367, allocations: 1.018 MB / 1.204 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/1.367, allocations: 4 kB / 1.204 GB, free: 4.457 MB / 0.8073 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.01371/1.381, allocations: 2.949 MB / 1.207 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001855/1.383, allocations: 3.908 MB / 1.211 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/1.383, allocations: 12 kB / 1.211 GB, free: 13.26 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007562/1.39, allocations: 0.9564 MB / 1.212 GB, free: 12.29 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004326/1.395, allocations: 391.4 kB / 1.212 GB, free: 11.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02017/1.415, allocations: 8.361 MB / 1.22 GB, free: 3.188 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004274/1.419, allocations: 207.7 kB / 1.221 GB, free: 2.984 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003799/1.42, allocations: 69.78 kB / 1.221 GB, free: 2.918 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.42, allocations: 4 kB / 1.221 GB, free: 2.914 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009138/1.429, allocations: 2.335 MB / 1.223 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.49e-05/1.429, allocations: 16.05 kB / 1.223 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003219/1.432, allocations: 0.5699 MB / 1.224 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004594/1.437, allocations: 411.3 kB / 1.224 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/1.453, allocations: 8.082 MB / 1.232 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/1.457, allocations: 195.7 kB / 1.232 GB, free: 6.852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/1.457, allocations: 59.97 kB / 1.232 GB, free: 6.793 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.0004795/1.457, allocations: 139.8 kB / 1.232 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/1.458, allocations: 86.95 kB / 1.232 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/1.472, allocations: 3.003 MB / 1.235 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/1.472, allocations: 12 kB / 1.235 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/1.472, allocations: 4 kB / 1.235 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/1.472, allocations: 7.984 kB / 1.235 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/1.49, allocations: 4.567 MB / 1.24 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/1.49, allocations: 8 kB / 1.24 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003556/1.494, allocations: 300.7 kB / 1.24 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007405/1.501, allocations: 1.023 MB / 1.241 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/1.501, allocations: 15.98 kB / 1.241 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02295/1.524, allocations: 9.702 MB / 1.251 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.577e-05/1.524, allocations: 12.81 kB / 1.251 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.294/1.818, allocations: 3.116 MB / 1.254 GB, free: 315 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01085/1.829, allocations: 3.513 MB / 1.257 GB, free: 313.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009874/1.83, allocations: 348.6 kB / 1.257 GB, free: 313.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/1.831, allocations: 3.75 kB / 1.257 GB, free: 313.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003944/1.835, allocations: 222.2 kB / 1.258 GB, free: 313.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/1.835, allocations: 78 kB / 1.258 GB, free: 313.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/1.835, allocations: 42.83 kB / 1.258 GB, free: 313.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000603/1.836, allocations: 363.7 kB / 1.258 GB, free: 313.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004473/1.84, allocations: 0.5138 MB / 1.259 GB, free: 313.7 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.0003642/1.841, allocations: 130.2 kB / 1.259 GB, free: 313.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01204/1.853, allocations: 3.91 MB / 1.262 GB, free: 312.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.853, allocations: 0 / 1.262 GB, free: 312.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005089/1.858, allocations: 1.535 MB / 1.264 GB, free: 312.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/1.859, allocations: 108.8 kB / 1.264 GB, free: 312.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/1.876, allocations: 2.647 MB / 1.267 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/1.877, allocations: 1.185 MB / 1.268 GB, free: 311.2 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/1.877, allocations: 0 / 1.268 GB, free: 311.2 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)