Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.232/1.232, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 191.6 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.142/1.142, allocations: 205.2 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008908/0.0008907, allocations: 88.09 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3174/0.3184, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.4671, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.9336, allocations: 163.7 MB / 1.044 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.9339, allocations: 96.47 kB / 1.045 GB, free: 9.133 MB / 0.6667 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.04322/0.9772, allocations: 18.51 MB / 1.063 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.9772, allocations: 16 kB / 1.063 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.9781, allocations: 107.4 kB / 1.063 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.9785, allocations: 249.5 kB / 1.063 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.9785, allocations: 4 kB / 1.063 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.9785, allocations: 12 kB / 1.063 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004417/0.979, allocations: 272.5 kB / 1.063 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004562/0.9795, allocations: 342.6 kB / 1.064 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.9795, allocations: 3.938 kB / 1.064 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.9795, allocations: 3.938 kB / 1.064 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.9795, allocations: 19.98 kB / 1.064 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.9815, allocations: 1.691 MB / 1.065 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.9818, allocations: 273.8 kB / 1.066 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.9821, allocations: 169.9 kB / 1.066 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.9822, allocations: 96.53 kB / 1.066 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.9823, allocations: 30.56 kB / 1.066 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.9823, allocations: 0 / 1.066 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.002889/0.9852, allocations: 1.105 MB / 1.067 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.9852, allocations: 81.11 kB / 1.067 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.9854, allocations: 148.5 kB / 1.067 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.9854, allocations: 25.7 kB / 1.067 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.9855, allocations: 146.3 kB / 1.067 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.853e-05/0.9856, allocations: 111.8 kB / 1.067 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.9856, allocations: 4 kB / 1.067 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.9857, allocations: 332.3 kB / 1.068 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.986, allocations: 219.9 kB / 1.068 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.9864, allocations: 308.2 kB / 1.068 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.987, allocations: 306.5 kB / 1.069 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.987, allocations: 0 / 1.069 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001095/0.9881, allocations: 0.6095 MB / 1.069 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002797/0.9884, allocations: 0.875 MB / 1.07 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.9884, allocations: 8 kB / 1.07 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.9884, allocations: 4 kB / 1.07 GB, free: 3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/0.9894, allocations: 146.9 kB / 1.07 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.9894, allocations: 4 kB / 1.07 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.9898, allocations: 43.89 kB / 1.07 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.9898, allocations: 19.61 kB / 1.07 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.9899, allocations: 7.906 kB / 1.07 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008524/0.9907, allocations: 464.5 kB / 1.071 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.9907, allocations: 4 kB / 1.071 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-06/0.9907, allocations: 4.047 kB / 1.071 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/0.9915, allocations: 139.1 kB / 1.071 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.9915, allocations: 4 kB / 1.071 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.9918, allocations: 31.97 kB / 1.071 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.9918, allocations: 23.09 kB / 1.071 GB, free: 2.258 MB / 0.6823 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.000133/0.9919, allocations: 116 kB / 1.071 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.992, allocations: 23.72 kB / 1.071 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.9933, allocations: 0.6502 MB / 1.072 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.9933, allocations: 4 kB / 1.072 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9933, allocations: 0 / 1.072 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.9933, allocations: 0 / 1.072 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.9953, allocations: 1.285 MB / 1.073 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.9954, allocations: 4 kB / 1.073 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006283/0.996, allocations: 123.3 kB / 1.073 GB, free: 400 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.996, allocations: 8.156 kB / 1.073 GB, free: 392 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.9961, allocations: 4 kB / 1.073 GB, free: 388 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.9961, allocations: 7.984 kB / 1.073 GB, free: 380 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9961, allocations: 7.938 kB / 1.073 GB, free: 372 kB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009818/0.9971, allocations: 0.778 MB / 1.074 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009959/0.9981, allocations: 1.158 MB / 1.075 GB, free: 14.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.9982, allocations: 141.9 kB / 1.075 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.9983, allocations: 8 kB / 1.075 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.9986, allocations: 35.95 kB / 1.075 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.9987, allocations: 27.41 kB / 1.075 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.9988, allocations: 11.31 kB / 1.075 GB, free: 14.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0001003/0.9989, allocations: 136.7 kB / 1.075 GB, free: 14.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001747/1.001, allocations: 154.2 kB / 1.075 GB, free: 14.06 MB / 0.698 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.0002229/1.001, allocations: 143 kB / 1.076 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.002, allocations: 0.7151 MB / 1.076 GB, free: 13.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.002, allocations: 11.88 kB / 1.076 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002772/1.002, allocations: 223 kB / 1.076 GB, free: 13.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/1.003, allocations: 32.28 kB / 1.076 GB, free: 13.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/1.004, allocations: 0.5876 MB / 1.077 GB, free: 12.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/1.004, allocations: 0.8335 MB / 1.078 GB, free: 11.85 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/1.004, allocations: 0 / 1.078 GB, free: 11.85 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)