Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",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 10.0.0-master/package.mo): time 1.751/1.751, allocations: 390.4 MB / 397.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009928/0.0009928, allocations: 173.7 kB / 490.8 MB, free: 11.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.1/1.1, allocations: 221.4 MB / 0.7863 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009307/0.0009308, allocations: 91.03 kB / 0.9264 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2312/0.2322, allocations: 149.2 MB / 1.072 GB, free: 15.43 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5028/0.7351, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.8932, allocations: 188.3 MB / 1.396 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.8934, allocations: 96.58 kB / 1.396 GB, free: 3.094 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.1076/1.001, allocations: 48.67 MB / 1.443 GB, free: 2.227 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/1.001, allocations: 12 kB / 1.443 GB, free: 2.215 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008586/1.01, allocations: 1.181 MB / 1.444 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000955/1.011, allocations: 0.5604 MB / 1.445 GB, free: 436 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/1.011, allocations: 20 kB / 1.445 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/1.011, allocations: 36 kB / 1.445 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002084/1.013, allocations: 1.265 MB / 1.446 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/1.015, allocations: 1.293 MB / 1.447 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/1.015, allocations: 7.938 kB / 1.447 GB, free: 13.72 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.015, allocations: 4 kB / 1.447 GB, free: 13.72 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001764/1.015, allocations: 101.2 kB / 1.448 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008023/1.023, allocations: 6.241 MB / 1.454 GB, free: 6.996 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/1.024, allocations: 0.914 MB / 1.455 GB, free: 6.031 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000745/1.025, allocations: 0.5672 MB / 1.455 GB, free: 5.445 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002371/1.028, allocations: 2.229 MB / 1.457 GB, free: 3.121 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/1.028, allocations: 38.56 kB / 1.457 GB, free: 3.074 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 2.024e-06/1.028, allocations: 0.6562 kB / 1.457 GB, free: 3.074 MB / 0.948 GB Notification: Performance of matching and sorting (n=93): time 0.008648/1.036, allocations: 3.577 MB / 1.461 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/1.036, allocations: 207.6 kB / 1.461 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004851/1.037, allocations: 440.8 kB / 1.461 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.444e-05/1.037, allocations: 25.7 kB / 1.461 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/1.037, allocations: 354.8 kB / 1.462 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/1.037, allocations: 307.4 kB / 1.462 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/1.037, allocations: 1.406 kB / 1.462 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.038, allocations: 374.8 kB / 1.462 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009266/1.039, allocations: 0.6468 MB / 1.463 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.04, allocations: 0.909 MB / 1.464 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/1.041, allocations: 0.8817 MB / 1.465 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/1.041, allocations: 4 kB / 1.465 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005551/1.047, allocations: 2.392 MB / 1.467 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008492/1.048, allocations: 3.136 MB / 1.47 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.048, allocations: 8 kB / 1.47 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002872/1.051, allocations: 0.6729 MB / 1.471 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/1.053, allocations: 391.4 kB / 1.471 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007942/1.061, allocations: 6.924 MB / 1.478 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/1.063, allocations: 203.6 kB / 1.478 GB, free: 12.81 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/1.063, allocations: 63.91 kB / 1.478 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/1.063, allocations: 4 kB / 1.478 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003527/1.067, allocations: 1.783 MB / 1.48 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.067, allocations: 8 kB / 1.48 GB, free: 10.95 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/1.067, allocations: 217.5 kB / 1.48 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/1.069, allocations: 445 kB / 1.481 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/1.073, allocations: 3.67 MB / 1.484 GB, free: 6.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/1.075, allocations: 191.7 kB / 1.484 GB, free: 6.223 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/1.075, allocations: 63.97 kB / 1.484 GB, free: 6.16 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002808/1.075, allocations: 126 kB / 1.485 GB, free: 6.031 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/1.075, allocations: 75.14 kB / 1.485 GB, free: 5.957 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005972/1.081, allocations: 2.352 MB / 1.487 GB, free: 3.605 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.081, allocations: 12 kB / 1.487 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.081, allocations: 4 kB / 1.487 GB, free: 3.59 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.081, allocations: 9.578 kB / 1.487 GB, free: 3.582 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007667/1.089, allocations: 4.12 MB / 1.491 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.089, allocations: 4 kB / 1.491 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/1.091, allocations: 302.3 kB / 1.491 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003109/1.094, allocations: 0.7877 MB / 1.492 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.094, allocations: 19.97 kB / 1.492 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008528/1.102, allocations: 7.925 MB / 1.5 GB, free: 5.848 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.102, allocations: 4 kB / 1.5 GB, free: 5.844 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005137/1.108, allocations: 2.693 MB / 1.502 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005165/1.113, allocations: 3.097 MB / 1.505 GB, free: 15.59 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/1.113, allocations: 308.1 kB / 1.506 GB, free: 15.27 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/1.113, allocations: 8 kB / 1.506 GB, free: 15.26 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/1.115, allocations: 203.7 kB / 1.506 GB, free: 15.06 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.115, allocations: 71.75 kB / 1.506 GB, free: 14.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.116, allocations: 43.97 kB / 1.506 GB, free: 14.95 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0003414/1.116, allocations: 322.9 kB / 1.506 GB, free: 14.63 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002818/1.119, allocations: 452.8 kB / 1.507 GB, free: 14.19 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002193/1.119, allocations: 127 kB / 1.507 GB, free: 14.05 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005112/1.124, allocations: 3.116 MB / 1.51 GB, free: 10.89 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.124, allocations: 256 / 1.51 GB, free: 10.89 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001895/1.126, allocations: 1.272 MB / 1.511 GB, free: 9.582 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/1.127, allocations: 85.5 kB / 1.511 GB, free: 9.508 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008309/1.135, allocations: 2.378 MB / 1.514 GB, free: 7.035 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/1.136, allocations: 1.128 MB / 1.515 GB, free: 5.875 MB / 1.01 GB Notification: Performance of SimCode: time 3.5e-07/1.136, allocations: 0 / 1.515 GB, free: 5.875 MB / 1.01 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat