Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.256/2.256, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.001702/0.001702, allocations: 182.7 kB / 315.1 MB, free: 4.289 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.934/1.934, allocations: 205.1 MB / 0.5658 GB, free: 380 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001329/0.001328, allocations: 94.5 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5069/0.5083, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.7859, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7613/1.547, allocations: 161.9 MB / 1.042 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003727/1.548, allocations: 96.55 kB / 1.042 GB, free: 11.7 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.3107/1.858, allocations: 63.57 MB / 1.104 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/1.859, allocations: 8 kB / 1.104 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00565/1.864, allocations: 491.8 kB / 1.104 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/1.868, allocations: 1.286 MB / 1.106 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.925e-05/1.869, allocations: 48 kB / 1.106 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008081/1.869, allocations: 84 kB / 1.106 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008061/1.878, allocations: 2.352 MB / 1.108 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/1.889, allocations: 2.959 MB / 1.111 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.341e-05/1.89, allocations: 3.938 kB / 1.111 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006618/1.89, allocations: 4 kB / 1.111 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001593/1.892, allocations: 187 kB / 1.111 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05936/1.951, allocations: 14.71 MB / 1.125 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005715/1.957, allocations: 1.739 MB / 1.127 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004955/1.962, allocations: 1.55 MB / 1.129 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/1.962, allocations: 20.97 kB / 1.129 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/1.962, allocations: 43.56 kB / 1.129 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 4.078e-06/1.962, allocations: 0 / 1.129 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=183): time 0.09552/2.058, allocations: 14.16 MB / 1.142 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/2.058, allocations: 73.39 kB / 1.143 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/2.061, allocations: 1.008 MB / 1.144 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006296/2.061, allocations: 29.7 kB / 1.144 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007025/2.062, allocations: 0.6585 MB / 1.144 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001351/2.064, allocations: 0.5927 MB / 1.145 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000472/2.064, allocations: 4 kB / 1.145 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002762/2.064, allocations: 385.9 kB / 1.145 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006213/2.071, allocations: 2.147 MB / 1.147 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007086/2.078, allocations: 2.47 MB / 1.15 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/2.089, allocations: 2.929 MB / 1.153 GB, free: 3.465 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-05/2.09, allocations: 0 / 1.153 GB, free: 3.465 MB / 0.7605 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.0398/2.129, allocations: 8.786 MB / 1.161 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/2.129, allocations: 4 kB / 1.161 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/2.129, allocations: 12 kB / 1.161 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04012/2.17, allocations: 4.982 MB / 1.166 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/2.172, allocations: 243.6 kB / 1.166 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06899/2.241, allocations: 21.57 MB / 1.187 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/2.245, allocations: 71.81 kB / 1.187 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/2.247, allocations: 263.8 kB / 1.188 GB, free: 15.19 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.001037/2.248, allocations: 128.7 kB / 1.188 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/2.249, allocations: 138.3 kB / 1.188 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04996/2.299, allocations: 8.352 MB / 1.196 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.996e-05/2.299, allocations: 20 kB / 1.196 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.443e-05/2.299, allocations: 16 kB / 1.196 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.273e-05/2.299, allocations: 11.95 kB / 1.196 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07202/2.371, allocations: 12.74 MB / 1.209 GB, free: 9.613 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.412e-05/2.371, allocations: 8.062 kB / 1.209 GB, free: 9.605 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/2.373, allocations: 115.8 kB / 1.209 GB, free: 9.492 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04697/2.42, allocations: 4.771 MB / 1.213 GB, free: 4.707 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007003/2.421, allocations: 67.89 kB / 1.213 GB, free: 4.641 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06662/2.487, allocations: 18.49 MB / 1.231 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/2.487, allocations: 11.94 kB / 1.231 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0352/2.523, allocations: 7.903 MB / 1.239 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03477/2.558, allocations: 8.302 MB / 1.247 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003388/2.561, allocations: 0.827 MB / 1.248 GB, free: 440 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001555/2.563, allocations: 4 kB / 1.248 GB, free: 436 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003391/2.566, allocations: 48.02 kB / 1.248 GB, free: 388 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009101/2.567, allocations: 153.8 kB / 1.248 GB, free: 236 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006557/2.568, allocations: 179.9 kB / 1.248 GB, free: 56 kB / 0.8542 GB Notification: Performance of sort global known variables: time 0.3315/2.899, allocations: 0.775 MB / 1.249 GB, free: 370.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.009344/2.909, allocations: 0.6667 MB / 1.25 GB, free: 370.2 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.001392/2.91, allocations: 125.3 kB / 1.25 GB, free: 370.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01901/2.929, allocations: 5.736 MB / 1.256 GB, free: 369.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/2.929, allocations: 3.656 kB / 1.256 GB, free: 369.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01442/2.944, allocations: 3.384 MB / 1.259 GB, free: 369.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/2.946, allocations: 152.9 kB / 1.259 GB, free: 369.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/2.962, allocations: 4.374 MB / 1.263 GB, free: 368.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004654/2.967, allocations: 1.899 MB / 1.265 GB, free: 368.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.915e-06/2.967, allocations: 0 / 1.265 GB, free: 368.2 MB / 0.8542 GB