Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33: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/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004778/0.0004778, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0004367/0.0004367, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.3578/0.3578, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/ThermalZones/ISO13790/Validation/BESTEST/Data/Case600Results.mo:4:46-4:57:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 20552400000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/ThermalZones/ISO13790/Validation/BESTEST/Data/Case600Results.mo:5:46-5:57:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 15465600000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/ThermalZones/ISO13790/Validation/BESTEST/Data/Case600Results.mo:6:47-6:58:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 26200800000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/ThermalZones/ISO13790/Validation/BESTEST/Data/Case600Results.mo:7:47-7:58:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 22093200000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/ThermalZones/ISO13790/Validation/BESTEST/Case900.mo:7:15-7:25:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 7347600000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/ThermalZones/ISO13790/Validation/BESTEST/Case900.mo:8:15-8:25:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 4212000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/ThermalZones/ISO13790/Validation/BESTEST/Case900.mo:9:16-9:27:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 11394000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/ThermalZones/ISO13790/Validation/BESTEST/Case900.mo:10:16-10:26:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 7686000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Systems/HVAC/Production/WoodHeating/Logs/LogStove.mo:74:18-74:29:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 51300000000 into a real [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.2337/0.2337, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.914e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.003744/0.003764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0004324/0.004196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.004236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.004271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.004322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.00455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 8.069e-05/0.00463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 6.227e-05/0.004693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 7.681e-05/0.004769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.004824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.004842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 6.494e-05/0.004907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.004927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.004961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.005097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.005108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.207e-06/0.005112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.003e-06/0.005119, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008615/0.00598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.706e-05/0.006048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.549e-05/0.006123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 9.909e-05/0.006222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.006439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.006473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.006502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.006911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.006921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.006945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.00695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.007299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.00803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.008505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.008685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.008838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.543e-05/0.008893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=3): time 4.782e-05/0.008941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=3): time 0.0008749/0.009816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.009872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.009994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.01003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.0101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.01015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.01028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002095/0.01049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.01064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.0108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.01111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005639/0.01168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.01171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.01172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.01185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.01186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-05/0.01196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.01198, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,fac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.01217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.01233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.01284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.01284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.01285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.01286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007484/0.0136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.01361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.01374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.01374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.01377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.01377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.01378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/0.0143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.01435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.01441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.01459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/0.01468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.0147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 7.993e-05/0.01478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.785e-06/0.01479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001023/0.01581, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001525/0.01733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0004212/0.01775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.01776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.01795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.01932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.02038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.02049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 6.276e-05/0.02055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.0207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0003993/0.0211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.0005626/0.02166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.0007636/0.02243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.01657/0.039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 5.39e-06/0.03901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 9.308e-06/0.03901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0002257/0.03924, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,startTime=0,stopTime=13,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=13 -tolerance=1e-06 -stepSize=0.0052 -noemit",resimulateExecutable="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,startTime=0,stopTime=13,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=13 -tolerance=1e-06 -stepSize=0.0052 -noemit -s fmi3:me:daskr",resimulateExecutable="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,startTime=0,stopTime=13,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=13 -tolerance=1e-06 -stepSize=0.0052 -noemit -s fmi3:cs",resimulateExecutable="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial.fmu") [Timeout 240] "" [Timeout remaining time 240] [Calling sys.exit(0), Time elapsed: 1.5771693889982998]