Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.39/1.39, allocations: 289.8 MB / 297.1 MB, free: 6.605 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.001112/0.001111, allocations: 185.2 kB / 366.3 MB, free: 1.977 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.03/1.03, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0008076/0.0008075, allocations: 91.45 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1999/0.2008, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.648, allocations: 116.3 MB / 0.9726 GB, free: 76.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.8104, allocations: 167.2 MB / 1.136 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.8106, allocations: 93.47 kB / 1.136 GB, free: 15.21 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.04242/0.8531, allocations: 18.17 MB / 1.154 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.8531, allocations: 12 kB / 1.154 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008295/0.854, allocations: 95.59 kB / 1.154 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.8543, allocations: 255.9 kB / 1.154 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.8543, allocations: 8 kB / 1.154 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.8544, allocations: 19.94 kB / 1.154 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004627/0.8548, allocations: 260.8 kB / 1.154 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.8553, allocations: 345.1 kB / 1.155 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.8553, allocations: 0 / 1.155 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.8553, allocations: 4 kB / 1.155 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.8554, allocations: 23.77 kB / 1.155 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.8571, allocations: 1.68 MB / 1.156 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.8575, allocations: 281 kB / 1.157 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.8577, allocations: 176.1 kB / 1.157 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001469/0.8579, allocations: 89.09 kB / 1.157 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.8579, allocations: 30.56 kB / 1.157 GB, free: 9.43 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 2.665e-06/0.8579, allocations: 4 kB / 1.157 GB, free: 9.426 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.002967/0.8609, allocations: 1.102 MB / 1.158 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.8609, allocations: 81.11 kB / 1.158 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.8611, allocations: 156.9 kB / 1.158 GB, free: 8.066 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.8611, allocations: 25.7 kB / 1.158 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.8612, allocations: 148.3 kB / 1.158 GB, free: 7.887 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.8613, allocations: 110.3 kB / 1.159 GB, free: 7.777 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.8613, allocations: 0 / 1.159 GB, free: 7.777 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.8614, allocations: 334.8 kB / 1.159 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.8617, allocations: 227.9 kB / 1.159 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.862, allocations: 301.3 kB / 1.159 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006186/0.8627, allocations: 302.1 kB / 1.16 GB, free: 6.598 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8627, allocations: 0 / 1.16 GB, free: 6.598 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001062/0.8637, allocations: 0.618 MB / 1.16 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.864, allocations: 0.8798 MB / 1.161 GB, free: 5.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.864, allocations: 0 / 1.161 GB, free: 5.027 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.864, allocations: 12.03 kB / 1.161 GB, free: 5.016 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/0.865, allocations: 151.8 kB / 1.161 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.865, allocations: 7.984 kB / 1.161 GB, free: 4.859 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.8654, allocations: 35.97 kB / 1.161 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.8654, allocations: 19.98 kB / 1.161 GB, free: 4.805 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-06/0.8654, allocations: 4 kB / 1.161 GB, free: 4.801 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008919/0.8663, allocations: 463.5 kB / 1.162 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.8663, allocations: 6.547 kB / 1.162 GB, free: 4.344 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.972e-06/0.8664, allocations: 4 kB / 1.162 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/0.8671, allocations: 127.8 kB / 1.162 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.8671, allocations: 11.92 kB / 1.162 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.8674, allocations: 27.97 kB / 1.162 GB, free: 4.176 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.8675, allocations: 16 kB / 1.162 GB, free: 4.16 MB / 0.7605 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.0001134/0.8676, allocations: 112.8 kB / 1.162 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.331e-05/0.8677, allocations: 33.88 kB / 1.162 GB, free: 4.012 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.8689, allocations: 0.6505 MB / 1.163 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.8689, allocations: 4 kB / 1.163 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8689, allocations: 3.906 kB / 1.163 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.8689, allocations: 0 / 1.163 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.8709, allocations: 1.278 MB / 1.164 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8709, allocations: 6 kB / 1.164 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/0.8716, allocations: 124.1 kB / 1.164 GB, free: 1.859 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.8716, allocations: 4 kB / 1.164 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.8716, allocations: 10.42 kB / 1.164 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/0.8716, allocations: 7.938 kB / 1.164 GB, free: 1.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8716, allocations: 7.938 kB / 1.164 GB, free: 1.832 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008767/0.8725, allocations: 0.7789 MB / 1.165 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001059/0.8736, allocations: 1.155 MB / 1.166 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.8738, allocations: 144.8 kB / 1.166 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.8738, allocations: 0 / 1.166 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.8742, allocations: 39.95 kB / 1.166 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.8743, allocations: 27.81 kB / 1.166 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.8743, allocations: 16 kB / 1.166 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.923e-05/0.8744, allocations: 139.1 kB / 1.166 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001806/0.8762, allocations: 139.9 kB / 1.166 GB, free: 15.2 MB / 0.7761 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.0002348/0.8765, allocations: 151 kB / 1.167 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009494/0.8774, allocations: 0.7233 MB / 1.167 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8774, allocations: 0 / 1.167 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.8777, allocations: 223.8 kB / 1.168 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.8781, allocations: 36.75 kB / 1.168 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.8792, allocations: 0.5823 MB / 1.168 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.8797, allocations: 0.8355 MB / 1.169 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of SimCode: time 3e-07/0.8797, allocations: 6.281 kB / 1.169 GB, free: 12.57 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)