Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_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.161/2.161, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001569/0.001569, allocations: 181.3 kB / 360.3 MB, free: 7.578 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.632/1.632, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001196/0.001196, allocations: 88.36 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2422/0.2435, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.7936, allocations: 115.2 MB / 0.9627 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2483/1.042, allocations: 168.9 MB / 1.128 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/1.042, allocations: 91.94 kB / 1.128 GB, free: 3.859 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.07491/1.117, allocations: 18.25 MB / 1.146 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.117, allocations: 12 kB / 1.146 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/1.119, allocations: 95.59 kB / 1.146 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/1.119, allocations: 263.1 kB / 1.146 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/1.119, allocations: 8 kB / 1.146 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/1.119, allocations: 12 kB / 1.146 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007838/1.12, allocations: 260.8 kB / 1.146 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008129/1.121, allocations: 341.1 kB / 1.147 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/1.121, allocations: 7.984 kB / 1.147 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/1.121, allocations: 3.938 kB / 1.147 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/1.121, allocations: 20.73 kB / 1.147 GB, free: 484 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/1.124, allocations: 1.673 MB / 1.148 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/1.125, allocations: 280.5 kB / 1.148 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/1.125, allocations: 179.6 kB / 1.149 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/1.126, allocations: 93.86 kB / 1.149 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/1.126, allocations: 38.55 kB / 1.149 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 2.504e-06/1.126, allocations: 0 / 1.149 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.005503/1.131, allocations: 1.1 MB / 1.15 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/1.131, allocations: 81.77 kB / 1.15 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/1.132, allocations: 154.9 kB / 1.15 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/1.132, allocations: 29.7 kB / 1.15 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/1.132, allocations: 148.3 kB / 1.15 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.132, allocations: 110.3 kB / 1.15 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/1.132, allocations: 0 / 1.15 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.132, allocations: 330.8 kB / 1.151 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/1.133, allocations: 224.8 kB / 1.151 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/1.133, allocations: 305.2 kB / 1.151 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/1.135, allocations: 302.1 kB / 1.151 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.135, allocations: 0 / 1.151 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002073/1.137, allocations: 0.6219 MB / 1.152 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004158/1.137, allocations: 0.8731 MB / 1.153 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.137, allocations: 0 / 1.153 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/1.137, allocations: 11.98 kB / 1.153 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/1.139, allocations: 143.8 kB / 1.153 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.139, allocations: 12.78 kB / 1.153 GB, free: 9.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/1.14, allocations: 36 kB / 1.153 GB, free: 9.445 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.14, allocations: 23.97 kB / 1.153 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/1.14, allocations: 4 kB / 1.153 GB, free: 9.418 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001656/1.142, allocations: 463.5 kB / 1.154 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.142, allocations: 4 kB / 1.154 GB, free: 8.961 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/1.142, allocations: 4 kB / 1.154 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.143, allocations: 136.1 kB / 1.154 GB, free: 8.824 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.143, allocations: 4 kB / 1.154 GB, free: 8.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/1.144, allocations: 32.81 kB / 1.154 GB, free: 8.789 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/1.144, allocations: 17.55 kB / 1.154 GB, free: 8.773 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.0002038/1.144, allocations: 120.5 kB / 1.154 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/1.144, allocations: 23.72 kB / 1.154 GB, free: 8.625 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/1.147, allocations: 0.648 MB / 1.155 GB, free: 7.973 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.147, allocations: 4 kB / 1.155 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.147, allocations: 3.906 kB / 1.155 GB, free: 7.965 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/1.147, allocations: 0 / 1.155 GB, free: 7.965 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/1.15, allocations: 1.287 MB / 1.156 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/1.15, allocations: 4 kB / 1.156 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/1.152, allocations: 121.7 kB / 1.156 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/1.152, allocations: 8 kB / 1.156 GB, free: 6.465 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/1.152, allocations: 4 kB / 1.156 GB, free: 6.461 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/1.152, allocations: 7.984 kB / 1.156 GB, free: 6.453 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/1.152, allocations: 7.938 kB / 1.156 GB, free: 6.445 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001654/1.153, allocations: 0.7709 MB / 1.157 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001853/1.155, allocations: 1.155 MB / 1.158 GB, free: 4.34 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/1.156, allocations: 148.7 kB / 1.158 GB, free: 4.176 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/1.156, allocations: 4 kB / 1.158 GB, free: 4.172 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/1.156, allocations: 37.17 kB / 1.158 GB, free: 4.137 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.156, allocations: 27.88 kB / 1.158 GB, free: 4.109 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/1.156, allocations: 8 kB / 1.158 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001798/1.157, allocations: 142.2 kB / 1.158 GB, free: 3.965 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002617/1.159, allocations: 143.9 kB / 1.158 GB, free: 3.824 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.0003005/1.16, allocations: 155 kB / 1.158 GB, free: 3.664 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001931/1.162, allocations: 0.7108 MB / 1.159 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.162, allocations: 1.125 kB / 1.159 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005928/1.162, allocations: 232.1 kB / 1.159 GB, free: 2.727 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/1.163, allocations: 37.94 kB / 1.159 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/1.165, allocations: 0.5773 MB / 1.16 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009194/1.166, allocations: 0.8316 MB / 1.161 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of SimCode: time 9.72e-07/1.166, allocations: 0 / 1.161 GB, free: 1.207 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)