Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.001083/0.001083, allocations: 176.5 kB / 316 MB, free: 3.621 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.154/1.154, allocations: 205.1 MB / 0.5667 GB, free: 15.73 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.0008173/0.0008172, allocations: 86.28 kB / 0.671 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3471/0.3479, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.5117, allocations: 106.3 MB / 0.8847 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4784/0.9901, allocations: 162.2 MB / 1.043 GB, free: 9.941 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.9904, allocations: 92.12 kB / 1.043 GB, free: 9.891 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.1423/1.133, allocations: 63.56 MB / 1.105 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.133, allocations: 8 kB / 1.105 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/1.136, allocations: 481.1 kB / 1.106 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/1.138, allocations: 1.293 MB / 1.107 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/1.138, allocations: 48 kB / 1.107 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/1.138, allocations: 87.94 kB / 1.107 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003733/1.142, allocations: 2.35 MB / 1.109 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004177/1.146, allocations: 2.962 MB / 1.112 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/1.146, allocations: 4 kB / 1.112 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/1.147, allocations: 4 kB / 1.112 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005608/1.147, allocations: 186.9 kB / 1.112 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02/1.167, allocations: 14.71 MB / 1.127 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/1.169, allocations: 1.743 MB / 1.128 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/1.171, allocations: 1.542 MB / 1.13 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.014e-05/1.171, allocations: 16.98 kB / 1.13 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/1.171, allocations: 47.5 kB / 1.13 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 2.906e-06/1.171, allocations: 4 kB / 1.13 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=183): time 0.03936/1.211, allocations: 14.15 MB / 1.144 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/1.211, allocations: 73.41 kB / 1.144 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/1.212, allocations: 1.004 MB / 1.145 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000421/1.213, allocations: 25.7 kB / 1.145 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/1.213, allocations: 0.6585 MB / 1.146 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005926/1.214, allocations: 0.5927 MB / 1.146 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/1.214, allocations: 3.938 kB / 1.146 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.214, allocations: 385.9 kB / 1.147 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002678/1.217, allocations: 2.147 MB / 1.149 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/1.22, allocations: 2.474 MB / 1.151 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005419/1.225, allocations: 2.935 MB / 1.154 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.225, allocations: 3.938 kB / 1.154 GB, free: 1.852 MB / 0.7605 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01739/1.242, allocations: 8.77 MB / 1.163 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.242, allocations: 8 kB / 1.163 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/1.243, allocations: 12.03 kB / 1.163 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01482/1.257, allocations: 4.984 MB / 1.167 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/1.258, allocations: 251.5 kB / 1.168 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03318/1.292, allocations: 21.57 MB / 1.189 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/1.294, allocations: 71.8 kB / 1.189 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004885/1.294, allocations: 267.8 kB / 1.189 GB, free: 13.59 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0004515/1.295, allocations: 132.7 kB / 1.189 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/1.295, allocations: 138.3 kB / 1.189 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/1.311, allocations: 8.348 MB / 1.197 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-05/1.311, allocations: 20 kB / 1.197 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.954e-05/1.311, allocations: 12 kB / 1.197 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.009e-05/1.311, allocations: 11.97 kB / 1.197 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02376/1.335, allocations: 12.75 MB / 1.21 GB, free: 8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.335, allocations: 0 / 1.21 GB, free: 8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/1.336, allocations: 119.8 kB / 1.21 GB, free: 7.883 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01426/1.35, allocations: 4.771 MB / 1.215 GB, free: 3.098 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003854/1.35, allocations: 63.89 kB / 1.215 GB, free: 3.035 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02806/1.379, allocations: 18.5 MB / 1.233 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.379, allocations: 4 kB / 1.233 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0153/1.394, allocations: 7.899 MB / 1.241 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.256/1.65, allocations: 8.297 MB / 1.249 GB, free: 366.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002226/1.652, allocations: 0.8256 MB / 1.249 GB, free: 366.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004484/1.653, allocations: 7.688 kB / 1.249 GB, free: 366.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.654, allocations: 49.36 kB / 1.249 GB, free: 366.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003272/1.654, allocations: 156.9 kB / 1.25 GB, free: 366.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002874/1.655, allocations: 182 kB / 1.25 GB, free: 366.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008563/1.655, allocations: 0.7728 MB / 1.251 GB, free: 366.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002666/1.658, allocations: 0.6541 MB / 1.251 GB, free: 366.7 MB / 0.8542 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 (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003449/1.658, allocations: 139.6 kB / 1.251 GB, free: 366.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007298/1.666, allocations: 5.728 MB / 1.257 GB, free: 366.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.666, allocations: 0 / 1.257 GB, free: 366.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005917/1.672, allocations: 3.388 MB / 1.26 GB, free: 366.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/1.673, allocations: 153.6 kB / 1.26 GB, free: 366.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007278/1.68, allocations: 4.369 MB / 1.265 GB, free: 365.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/1.682, allocations: 1.909 MB / 1.267 GB, free: 364.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.994e-06/1.682, allocations: 0 / 1.267 GB, free: 364.6 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)