Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.ACACConverter,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.166/2.166, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001626/0.001626, allocations: 177.2 kB / 360.3 MB, free: 7.492 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.671/1.671, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001211/0.00121, allocations: 81.17 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2435/0.2447, allocations: 121.4 MB / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5583/0.803, allocations: 115.3 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.247/1.05, allocations: 166.2 MB / 1.125 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/1.05, allocations: 92.83 kB / 1.125 GB, free: 6.512 MB / 0.7292 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.07413/1.125, allocations: 17.9 MB / 1.143 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.125, allocations: 8 kB / 1.143 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/1.126, allocations: 95.59 kB / 1.143 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/1.127, allocations: 264 kB / 1.143 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/1.127, allocations: 4 kB / 1.143 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/1.127, allocations: 12 kB / 1.143 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007885/1.127, allocations: 260.8 kB / 1.143 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/1.128, allocations: 345.1 kB / 1.144 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/1.128, allocations: 0 / 1.144 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/1.128, allocations: 3.984 kB / 1.144 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/1.128, allocations: 27.98 kB / 1.144 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003064/1.131, allocations: 1.677 MB / 1.145 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/1.132, allocations: 279.5 kB / 1.145 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/1.133, allocations: 173.7 kB / 1.146 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/1.133, allocations: 93.89 kB / 1.146 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.133, allocations: 42.5 kB / 1.146 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 2.404e-06/1.133, allocations: 0 / 1.146 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.005384/1.138, allocations: 1.102 MB / 1.147 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/1.138, allocations: 81.11 kB / 1.147 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/1.139, allocations: 158.4 kB / 1.147 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/1.139, allocations: 25.7 kB / 1.147 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/1.139, allocations: 140.3 kB / 1.147 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/1.139, allocations: 114.3 kB / 1.147 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/1.139, allocations: 0.75 kB / 1.147 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.139, allocations: 330.8 kB / 1.148 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/1.14, allocations: 219.9 kB / 1.148 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006899/1.14, allocations: 305.2 kB / 1.148 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.142, allocations: 310 kB / 1.148 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.142, allocations: 0 / 1.148 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002088/1.144, allocations: 0.6231 MB / 1.149 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004401/1.144, allocations: 0.873 MB / 1.15 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.144, allocations: 5.688 kB / 1.15 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.144, allocations: 7.984 kB / 1.15 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/1.146, allocations: 147.8 kB / 1.15 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/1.146, allocations: 6.578 kB / 1.15 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/1.147, allocations: 35.95 kB / 1.15 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/1.147, allocations: 23.92 kB / 1.15 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.147, allocations: 9.25 kB / 1.15 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001738/1.149, allocations: 451.6 kB / 1.151 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.149, allocations: 4 kB / 1.151 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/1.149, allocations: 4 kB / 1.151 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/1.15, allocations: 141.4 kB / 1.151 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.151, allocations: 4 kB / 1.151 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/1.151, allocations: 31.97 kB / 1.151 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/1.151, allocations: 19.98 kB / 1.151 GB, free: 11.76 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.0002135/1.151, allocations: 120.5 kB / 1.151 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/1.152, allocations: 19.72 kB / 1.151 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/1.154, allocations: 0.6492 MB / 1.152 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.154, allocations: 4 kB / 1.152 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.154, allocations: 3.906 kB / 1.152 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/1.154, allocations: 8 kB / 1.152 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/1.158, allocations: 1.279 MB / 1.153 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/1.158, allocations: 0 / 1.153 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/1.159, allocations: 132.1 kB / 1.153 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/1.159, allocations: 4 kB / 1.153 GB, free: 9.449 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/1.159, allocations: 6.25 kB / 1.153 GB, free: 9.445 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/1.159, allocations: 7.984 kB / 1.153 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.159, allocations: 1.625 kB / 1.153 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001686/1.161, allocations: 0.7747 MB / 1.154 GB, free: 8.574 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001834/1.163, allocations: 1.151 MB / 1.155 GB, free: 7.332 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/1.163, allocations: 144.7 kB / 1.155 GB, free: 7.172 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/1.163, allocations: 8 kB / 1.155 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/1.164, allocations: 31.95 kB / 1.155 GB, free: 7.133 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/1.164, allocations: 27.88 kB / 1.155 GB, free: 7.105 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.985e-05/1.164, allocations: 20 kB / 1.155 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001926/1.164, allocations: 134.1 kB / 1.155 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002618/1.167, allocations: 147.9 kB / 1.155 GB, free: 6.812 MB / 0.7605 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.0003294/1.167, allocations: 155 kB / 1.155 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001972/1.169, allocations: 0.7157 MB / 1.156 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.169, allocations: 320 / 1.156 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005846/1.17, allocations: 235.7 kB / 1.156 GB, free: 5.707 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000538/1.17, allocations: 32.81 kB / 1.156 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/1.172, allocations: 0.5816 MB / 1.157 GB, free: 5.047 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008794/1.173, allocations: 0.8343 MB / 1.158 GB, free: 4.188 MB / 0.7605 GB Notification: Performance of SimCode: time 1.603e-06/1.173, allocations: 4 kB / 1.158 GB, free: 4.184 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)