Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.369/1.369, allocations: 289.8 MB / 297 MB, free: 6.75 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.001002/0.001002, allocations: 185.3 kB / 366.3 MB, free: 2.008 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.071/1.071, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0007992/0.0007992, allocations: 97.28 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2007/0.2015, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.6415, allocations: 116.3 MB / 0.9727 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.8186, allocations: 167.1 MB / 1.136 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.8188, allocations: 97.08 kB / 1.136 GB, free: 13.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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.1628/0.9816, allocations: 69.81 MB / 1.204 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.9816, allocations: 8 kB / 1.204 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003021/0.9847, allocations: 465.3 kB / 1.205 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.9869, allocations: 1.153 MB / 1.206 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.9869, allocations: 52 kB / 1.206 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.9872, allocations: 80 kB / 1.206 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003039/0.9902, allocations: 2.033 MB / 1.208 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/0.9939, allocations: 2.613 MB / 1.21 GB, free: 92 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.994, allocations: 4 kB / 1.21 GB, free: 88 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.9941, allocations: 4 kB / 1.21 GB, free: 84 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004424/0.9946, allocations: 158.9 kB / 1.211 GB, free: 15.93 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01778/1.012, allocations: 13.95 MB / 1.224 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/1.014, allocations: 1.278 MB / 1.225 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/1.016, allocations: 1.113 MB / 1.227 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/1.016, allocations: 16.64 kB / 1.227 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/1.016, allocations: 47.2 kB / 1.227 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=82): time 2.976e-06/1.016, allocations: 0 / 1.227 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=139): time 0.02454/1.04, allocations: 8.972 MB / 1.235 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.04, allocations: 64.72 kB / 1.235 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/1.042, allocations: 0.9057 MB / 1.236 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001556/1.042, allocations: 25.7 kB / 1.236 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/1.042, allocations: 0.6345 MB / 1.237 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/1.043, allocations: 469 kB / 1.237 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/1.043, allocations: 0 / 1.237 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002042/1.043, allocations: 418.6 kB / 1.238 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/1.045, allocations: 1.499 MB / 1.239 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.323/1.368, allocations: 1.779 MB / 1.241 GB, free: 175 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00361/1.372, allocations: 2.114 MB / 1.243 GB, free: 175 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.372, allocations: 3.75 kB / 1.243 GB, free: 175 MB / 0.8386 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.009446/1.381, allocations: 5.778 MB / 1.249 GB, free: 174.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.381, allocations: 5.781 kB / 1.249 GB, free: 174.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.381, allocations: 7.5 kB / 1.249 GB, free: 174.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006855/1.388, allocations: 2.733 MB / 1.251 GB, free: 174.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/1.389, allocations: 209.6 kB / 1.252 GB, free: 174.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/1.405, allocations: 14.41 MB / 1.266 GB, free: 171.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.407, allocations: 59.78 kB / 1.266 GB, free: 171.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/1.407, allocations: 164.5 kB / 1.266 GB, free: 171.3 MB / 0.8386 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 (96): * Single equations (assignments): 92 * 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: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003044/1.407, allocations: 126.3 kB / 1.266 GB, free: 171.1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/1.407, allocations: 115.1 kB / 1.266 GB, free: 171.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008372/1.416, allocations: 5.25 MB / 1.271 GB, free: 170.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.416, allocations: 11.09 kB / 1.271 GB, free: 170.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/1.416, allocations: 10.88 kB / 1.271 GB, free: 170.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/1.416, allocations: 7.594 kB / 1.271 GB, free: 170.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/1.428, allocations: 8.376 MB / 1.279 GB, free: 170.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/1.428, allocations: 3.156 kB / 1.279 GB, free: 170.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/1.428, allocations: 117.1 kB / 1.28 GB, free: 170.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006747/1.435, allocations: 2.564 MB / 1.282 GB, free: 170.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/1.435, allocations: 37.06 kB / 1.282 GB, free: 170.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/1.453, allocations: 12.38 MB / 1.294 GB, free: 166.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.453, allocations: 8.5 kB / 1.294 GB, free: 166.8 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008224/1.461, allocations: 5.107 MB / 1.299 GB, free: 166.1 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008396/1.47, allocations: 5.506 MB / 1.305 GB, free: 164.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009431/1.471, allocations: 0.5953 MB / 1.305 GB, free: 164.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/1.471, allocations: 8 kB / 1.305 GB, free: 164.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008225/1.472, allocations: 35.41 kB / 1.305 GB, free: 164.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/1.472, allocations: 106.3 kB / 1.305 GB, free: 164.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.472, allocations: 118.6 kB / 1.305 GB, free: 164 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0006821/1.473, allocations: 0.678 MB / 1.306 GB, free: 163.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002295/1.475, allocations: 0.5129 MB / 1.307 GB, free: 163.1 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.000236/1.476, allocations: 129.8 kB / 1.307 GB, free: 163 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005091/1.481, allocations: 3.944 MB / 1.311 GB, free: 160.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.481, allocations: 0 / 1.311 GB, free: 160.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0038/1.485, allocations: 2.266 MB / 1.313 GB, free: 159.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007886/1.485, allocations: 149.2 kB / 1.313 GB, free: 159 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/1.49, allocations: 3.347 MB / 1.316 GB, free: 156.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.492, allocations: 1.748 MB / 1.318 GB, free: 155.2 MB / 0.8386 GB Notification: Performance of SimCode: time 1.613e-06/1.492, allocations: 4 kB / 1.318 GB, free: 155.2 MB / 0.8386 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)