Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.ACACTransformer,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.143/2.143, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001573/0.001572, allocations: 185.2 kB / 360.3 MB, free: 7.539 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.627/1.627, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.00125/0.00125, allocations: 82.66 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.245/0.2463, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.7884, allocations: 115.3 MB / 0.9628 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2605/1.049, allocations: 175.8 MB / 1.134 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/1.049, allocations: 88.55 kB / 1.134 GB, free: 12.95 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.1796/1.229, allocations: 43.96 MB / 1.177 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.229, allocations: 15.94 kB / 1.177 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/1.247, allocations: 1.189 MB / 1.179 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/1.249, allocations: 0.5411 MB / 1.179 GB, free: 15 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/1.249, allocations: 23.98 kB / 1.179 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/1.25, allocations: 36 kB / 1.179 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004089/1.254, allocations: 1.264 MB / 1.18 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003335/1.257, allocations: 1.291 MB / 1.182 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/1.257, allocations: 7.984 kB / 1.182 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/1.257, allocations: 0 / 1.182 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003537/1.258, allocations: 97.2 kB / 1.182 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/1.273, allocations: 6.256 MB / 1.188 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/1.276, allocations: 0.9257 MB / 1.189 GB, free: 4.574 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/1.277, allocations: 0.5672 MB / 1.189 GB, free: 3.992 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004326/1.282, allocations: 2.222 MB / 1.192 GB, free: 1.68 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/1.282, allocations: 46.5 kB / 1.192 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=69): time 3.316e-06/1.282, allocations: 0 / 1.192 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of matching and sorting (n=93): time 0.01733/1.299, allocations: 3.578 MB / 1.195 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.299, allocations: 191.9 kB / 1.195 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/1.3, allocations: 433 kB / 1.196 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002466/1.3, allocations: 29.7 kB / 1.196 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/1.301, allocations: 354.7 kB / 1.196 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004336/1.301, allocations: 315.4 kB / 1.196 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/1.301, allocations: 0 / 1.196 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001911/1.301, allocations: 378.8 kB / 1.197 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/1.303, allocations: 0.6429 MB / 1.197 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/1.305, allocations: 0.9129 MB / 1.198 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003549/1.309, allocations: 0.8744 MB / 1.199 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/1.309, allocations: 4 kB / 1.199 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01125/1.32, allocations: 2.4 MB / 1.201 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001453/1.322, allocations: 3.131 MB / 1.204 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.521e-05/1.322, allocations: 8 kB / 1.204 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005593/1.327, allocations: 0.673 MB / 1.205 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004409/1.332, allocations: 387.4 kB / 1.205 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/1.347, allocations: 6.927 MB / 1.212 GB, free: 11.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004095/1.351, allocations: 199.7 kB / 1.212 GB, free: 11.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/1.351, allocations: 63.95 kB / 1.212 GB, free: 11.32 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.352, allocations: 5.25 kB / 1.213 GB, free: 11.31 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006514/1.358, allocations: 1.775 MB / 1.214 GB, free: 9.531 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/1.358, allocations: 19.47 kB / 1.214 GB, free: 9.516 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/1.359, allocations: 213.5 kB / 1.214 GB, free: 9.301 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004794/1.364, allocations: 439.3 kB / 1.215 GB, free: 8.871 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/1.37, allocations: 3.682 MB / 1.218 GB, free: 4.969 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/1.374, allocations: 187.7 kB / 1.219 GB, free: 4.785 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/1.375, allocations: 62.39 kB / 1.219 GB, free: 4.727 MB / 0.823 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.0004601/1.375, allocations: 139.8 kB / 1.219 GB, free: 4.586 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/1.375, allocations: 67.16 kB / 1.219 GB, free: 4.52 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.387, allocations: 2.351 MB / 1.221 GB, free: 2.172 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.489e-05/1.387, allocations: 15.98 kB / 1.221 GB, free: 2.156 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/1.387, allocations: 4 kB / 1.221 GB, free: 2.152 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/1.387, allocations: 7.984 kB / 1.221 GB, free: 2.145 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/1.402, allocations: 4.116 MB / 1.225 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/1.402, allocations: 5.125 kB / 1.225 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003598/1.406, allocations: 295.8 kB / 1.226 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005957/1.412, allocations: 0.7861 MB / 1.226 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002871/1.412, allocations: 23.97 kB / 1.226 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0164/1.428, allocations: 7.911 MB / 1.234 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/1.428, allocations: 7.938 kB / 1.234 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01013/1.439, allocations: 2.697 MB / 1.237 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01034/1.449, allocations: 3.092 MB / 1.24 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009711/1.45, allocations: 308.1 kB / 1.24 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/1.45, allocations: 11.98 kB / 1.24 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003983/1.454, allocations: 214.4 kB / 1.24 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/1.455, allocations: 59.83 kB / 1.24 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/1.455, allocations: 39.97 kB / 1.24 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0007067/1.456, allocations: 326.9 kB / 1.241 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004446/1.46, allocations: 451.9 kB / 1.241 GB, free: 12.78 MB / 0.8542 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.0004745/1.461, allocations: 131.7 kB / 1.241 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.471, allocations: 3.119 MB / 1.244 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.471, allocations: 4 kB / 1.244 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003804/1.474, allocations: 1.273 MB / 1.245 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/1.476, allocations: 80.42 kB / 1.246 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/1.493, allocations: 2.379 MB / 1.248 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/1.495, allocations: 1.132 MB / 1.249 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/1.495, allocations: 0 / 1.249 GB, free: 4.438 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1)