Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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 9.1.1-maint.9.1.x/package.mo): time 1.821/1.821, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001004/0.001004, allocations: 181.2 kB / 487 MB, free: 5.406 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.132/1.132, allocations: 221.3 MB / 0.7819 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008367/0.0008368, allocations: 95.17 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4079/0.4088, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.5995, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5116/1.111, allocations: 165.1 MB / 1.367 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.111, allocations: 95.62 kB / 1.367 GB, free: 11.31 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.06603/1.177, allocations: 32.9 MB / 1.399 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.177, allocations: 8 kB / 1.399 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/1.179, allocations: 206.8 kB / 1.399 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006777/1.179, allocations: 497.8 kB / 1.399 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/1.179, allocations: 19.94 kB / 1.399 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/1.179, allocations: 27.94 kB / 1.399 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005912/1.18, allocations: 433.7 kB / 1.4 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/1.181, allocations: 0.8596 MB / 1.401 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/1.181, allocations: 11.94 kB / 1.401 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/1.181, allocations: 4 kB / 1.401 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.717e-05/1.181, allocations: 59.92 kB / 1.401 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003471/1.185, allocations: 5.57 MB / 1.406 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/1.185, allocations: 419.2 kB / 1.407 GB, free: 7.633 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/1.185, allocations: 224.2 kB / 1.407 GB, free: 7.484 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/1.185, allocations: 4.531 kB / 1.407 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/1.185, allocations: 41.56 kB / 1.407 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 1.322e-06/1.185, allocations: 3.938 kB / 1.407 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001396/1.187, allocations: 0.8337 MB / 1.408 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/1.187, allocations: 51.41 kB / 1.408 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/1.187, allocations: 356.9 kB / 1.408 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/1.187, allocations: 25.7 kB / 1.408 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/1.187, allocations: 302.4 kB / 1.408 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/1.187, allocations: 112.6 kB / 1.409 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/1.187, allocations: 0 / 1.409 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.187, allocations: 363.7 kB / 1.409 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/1.188, allocations: 177.2 kB / 1.409 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/1.188, allocations: 399 kB / 1.409 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/1.188, allocations: 246.8 kB / 1.41 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.188, allocations: 4 kB / 1.41 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001025/1.189, allocations: 0.7153 MB / 1.41 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/1.189, allocations: 4 kB / 1.41 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.189, allocations: 8 kB / 1.41 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004503/1.19, allocations: 150.6 kB / 1.41 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/1.19, allocations: 107.3 kB / 1.411 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/1.193, allocations: 3.863 MB / 1.414 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/1.193, allocations: 11.98 kB / 1.414 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/1.193, allocations: 31.14 kB / 1.414 GB, free: 15.98 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/1.193, allocations: 129.6 kB / 1.415 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/1.193, allocations: 55.34 kB / 1.415 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008687/1.194, allocations: 0.5793 MB / 1.415 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.194, allocations: 4 kB / 1.415 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/1.194, allocations: 0 / 1.415 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.194, allocations: 0 / 1.415 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/1.196, allocations: 1.177 MB / 1.416 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.196, allocations: 4.031 kB / 1.416 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/1.196, allocations: 51.91 kB / 1.416 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003782/1.196, allocations: 139.2 kB / 1.416 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/1.196, allocations: 4 kB / 1.416 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/1.199, allocations: 3.86 MB / 1.42 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.199, allocations: 4.031 kB / 1.42 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008563/1.2, allocations: 0.7721 MB / 1.421 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009474/1.201, allocations: 1.163 MB / 1.422 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/1.201, allocations: 165.4 kB / 1.422 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/1.201, allocations: 0 / 1.422 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/1.201, allocations: 11.98 kB / 1.422 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/1.201, allocations: 23.44 kB / 1.422 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/1.201, allocations: 14.19 kB / 1.422 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0002398/1.202, allocations: 267.8 kB / 1.423 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001083/1.203, allocations: 128 kB / 1.423 GB, free: 7.645 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/1.203, allocations: 113.2 kB / 1.423 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001045/1.204, allocations: 0.9573 MB / 1.424 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.204, allocations: 4 kB / 1.424 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006663/1.205, allocations: 0.6918 MB / 1.424 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/1.205, allocations: 165.1 kB / 1.425 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/1.207, allocations: 0.7706 MB / 1.425 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/1.207, allocations: 0.9549 MB / 1.426 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of SimCode: time 3.3e-07/1.207, allocations: 0 / 1.426 GB, free: 4.078 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat