Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.809/1.809, allocations: 390.4 MB / 397.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009539/0.0009539, allocations: 181.3 kB / 490.8 MB, free: 1.898 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.125/1.125, allocations: 221.3 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008484/0.0008485, allocations: 100.2 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4204/0.4213, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.6065, allocations: 143 MB / 1.212 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5026/1.109, allocations: 178.5 MB / 1.386 GB, free: 16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/1.109, allocations: 90.03 kB / 1.386 GB, free: 15.98 MB / 0.823 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.1596/1.269, allocations: 74.59 MB / 1.459 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/1.269, allocations: 15.94 kB / 1.459 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/1.272, allocations: 469.2 kB / 1.459 GB, free: 5.887 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/1.274, allocations: 1.144 MB / 1.461 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/1.274, allocations: 51.91 kB / 1.461 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/1.274, allocations: 80 kB / 1.461 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002968/1.277, allocations: 2.043 MB / 1.463 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/1.281, allocations: 2.609 MB / 1.465 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/1.281, allocations: 3.938 kB / 1.465 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/1.281, allocations: 4 kB / 1.465 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003649/1.281, allocations: 161.3 kB / 1.465 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/1.297, allocations: 13.97 MB / 1.479 GB, free: 4.617 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/1.298, allocations: 1.267 MB / 1.48 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/1.299, allocations: 1.113 MB / 1.481 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/1.299, allocations: 16.64 kB / 1.481 GB, free: 2.879 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/1.299, allocations: 43.12 kB / 1.481 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 3.536e-06/1.299, allocations: 0 / 1.481 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139): time 0.02361/1.323, allocations: 8.976 MB / 1.49 GB, free: 9.824 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/1.323, allocations: 68.7 kB / 1.49 GB, free: 9.742 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/1.324, allocations: 0.8979 MB / 1.491 GB, free: 8.84 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/1.324, allocations: 25.7 kB / 1.491 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/1.325, allocations: 0.6385 MB / 1.492 GB, free: 8.156 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/1.325, allocations: 465 kB / 1.492 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/1.325, allocations: 4 kB / 1.492 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.325, allocations: 418.6 kB / 1.493 GB, free: 7.273 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/1.327, allocations: 1.495 MB / 1.494 GB, free: 5.77 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/1.329, allocations: 1.781 MB / 1.496 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/1.333, allocations: 2.114 MB / 1.498 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.333, allocations: 4 kB / 1.498 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01071/1.344, allocations: 5.78 MB / 1.503 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/1.344, allocations: 4 kB / 1.503 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.344, allocations: 8 kB / 1.503 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007631/1.352, allocations: 2.732 MB / 1.506 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000797/1.352, allocations: 211.6 kB / 1.506 GB, free: 9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/1.372, allocations: 14.41 MB / 1.52 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.373, allocations: 59.95 kB / 1.52 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/1.374, allocations: 167.9 kB / 1.521 GB, free: 10.08 MB / 0.9323 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.0003167/1.374, allocations: 120.7 kB / 1.521 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/1.374, allocations: 110.7 kB / 1.521 GB, free: 9.848 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009473/1.384, allocations: 5.247 MB / 1.526 GB, free: 4.574 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/1.384, allocations: 19.92 kB / 1.526 GB, free: 4.555 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.384, allocations: 15.91 kB / 1.526 GB, free: 4.539 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.384, allocations: 11.97 kB / 1.526 GB, free: 4.527 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.398, allocations: 8.372 MB / 1.534 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.398, allocations: 4 kB / 1.534 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/1.398, allocations: 112.3 kB / 1.534 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007216/1.405, allocations: 2.562 MB / 1.537 GB, free: 9.352 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/1.406, allocations: 35.94 kB / 1.537 GB, free: 9.316 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/1.423, allocations: 12.39 MB / 1.549 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.423, allocations: 4 kB / 1.549 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009018/1.432, allocations: 5.109 MB / 1.554 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009212/1.441, allocations: 5.507 MB / 1.559 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.442, allocations: 0.5971 MB / 1.56 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/1.442, allocations: 7.906 kB / 1.56 GB, free: 1.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008243/1.443, allocations: 39.95 kB / 1.56 GB, free: 1.016 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/1.443, allocations: 113 kB / 1.56 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002131/1.443, allocations: 116.3 kB / 1.56 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0007762/1.444, allocations: 0.6826 MB / 1.561 GB, free: 112 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002256/1.446, allocations: 0.5117 MB / 1.561 GB, free: 15.59 MB / 0.9792 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.0002521/1.447, allocations: 134.8 kB / 1.561 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005756/1.452, allocations: 3.94 MB / 1.565 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.453, allocations: 0 / 1.565 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004149/1.457, allocations: 2.265 MB / 1.568 GB, free: 9.215 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/1.457, allocations: 151.8 kB / 1.568 GB, free: 9.066 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/1.463, allocations: 3.344 MB / 1.571 GB, free: 5.633 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/1.464, allocations: 1.744 MB / 1.573 GB, free: 3.859 MB / 0.9792 GB Notification: Performance of SimCode: time 3.31e-07/1.464, allocations: 0 / 1.573 GB, free: 3.859 MB / 0.9792 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)