Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [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.001239/0.001239, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [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.8964/0.8964, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0363/0.0363, allocations: 9.118 MB / 268.3 MB, free: 4.48 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005306/0.0005306, allocations: 38.69 kB / 327.8 MB, free: 5.801 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.533/1.533, allocations: 275 MB / 0.6467 GB, free: 2.793 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop,fileNamePrefix="AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop,fileNamePrefix="AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9279 GB, free: 21.22 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.802e-05, allocations: 2.281 kB / 0.9279 GB, free: 21.22 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop): time 0.003174/0.003192, allocations: 2.655 MB / 0.9305 GB, free: 19.39 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.004257, allocations: 0.7859 MB / 0.9313 GB, free: 18.89 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.004357, allocations: 9 kB / 0.9313 GB, free: 18.88 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.004547, allocations: 26.78 kB / 0.9313 GB, free: 18.86 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.004662, allocations: 26 kB / 0.9314 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.005141, allocations: 171.3 kB / 0.9315 GB, free: 18.75 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.005407, allocations: 184.9 kB / 0.9317 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.005516, allocations: 32.58 kB / 0.9317 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.005658, allocations: 105.3 kB / 0.9318 GB, free: 18.6 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.005764, allocations: 70.36 kB / 0.9319 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.005797, allocations: 13.03 kB / 0.9319 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 9.476e-05/0.005891, allocations: 53.31 kB / 0.932 GB, free: 18.55 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.00594, allocations: 33.75 kB / 0.932 GB, free: 18.53 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.006009, allocations: 50.78 kB / 0.932 GB, free: 18.51 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.006297, allocations: 214.6 kB / 0.9322 GB, free: 18.42 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.006301, allocations: 0 / 0.9322 GB, free: 18.42 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.423e-06/0.006302, allocations: 1.344 kB / 0.9322 GB, free: 18.42 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.006308, allocations: 0 / 0.9322 GB, free: 18.42 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006515/0.00696, allocations: 485.8 kB / 0.9327 GB, free: 18.01 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.006999, allocations: 14.67 kB / 0.9327 GB, free: 18.01 MB / 0.7293 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.00703, allocations: 45.3 kB / 0.9328 GB, free: 17.96 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.007081, allocations: 21.55 kB / 0.9328 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.007334, allocations: 167.3 kB / 0.9329 GB, free: 17.79 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.007349, allocations: 5.594 kB / 0.933 GB, free: 17.79 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.007375, allocations: 17.03 kB / 0.933 GB, free: 17.79 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.007671, allocations: 219.8 kB / 0.9332 GB, free: 17.64 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.007679, allocations: 3.938 kB / 0.9332 GB, free: 17.64 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.007694, allocations: 7.469 kB / 0.9332 GB, free: 17.64 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.007699, allocations: 1.438 kB / 0.9332 GB, free: 17.64 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.007921, allocations: 134.5 kB / 0.9333 GB, free: 17.59 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.008404, allocations: 376.7 kB / 0.9337 GB, free: 17.29 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.008756, allocations: 188.8 kB / 0.9339 GB, free: 17.2 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.008885, allocations: 104.3 kB / 0.934 GB, free: 17.14 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.008905, allocations: 6.406 kB / 0.934 GB, free: 17.14 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.009161, allocations: 202.7 kB / 0.9342 GB, free: 17 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=15): time 1.512e-06/0.009163, allocations: 0 / 0.9342 GB, free: 17 MB / 0.7293 GB Notification: Performance of matching and sorting (n=15): time 0.0005716/0.009734, allocations: 416.3 kB / 0.9346 GB, free: 16.79 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.009774, allocations: 137.9 kB / 0.9347 GB, free: 16.63 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.009884, allocations: 176.1 kB / 0.9349 GB, free: 16.5 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.009899, allocations: 33.28 kB / 0.9349 GB, free: 16.46 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.009945, allocations: 115.7 kB / 0.935 GB, free: 16.36 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.009971, allocations: 38.2 kB / 0.935 GB, free: 16.33 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.01002, allocations: 40.44 kB / 0.9351 GB, free: 16.3 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.01007, allocations: 329.1 kB / 0.9354 GB, free: 15.98 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.01021, allocations: 121.7 kB / 0.9355 GB, free: 15.9 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.01035, allocations: 196.1 kB / 0.9357 GB, free: 15.73 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.01089, allocations: 408.6 kB / 0.9361 GB, free: 15.46 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01089, allocations: 5.344 kB / 0.9361 GB, free: 15.46 MB / 0.7293 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003473/0.01124, allocations: 343.2 kB / 0.9364 GB, free: 15.24 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.01126, allocations: 60.45 kB / 0.9365 GB, free: 15.18 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01127, allocations: 9.328 kB / 0.9365 GB, free: 15.17 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.01128, allocations: 2.688 kB / 0.9365 GB, free: 15.17 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.01137, allocations: 38.75 kB / 0.9365 GB, free: 15.16 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.01138, allocations: 3.203 kB / 0.9365 GB, free: 15.16 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.702e-05/0.01146, allocations: 22.59 kB / 0.9365 GB, free: 15.16 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.01148, allocations: 10.09 kB / 0.9366 GB, free: 15.15 MB / 0.7293 GB Warning: Assuming fixed start value for the following 2 variables: tCPCommunicatorExample.stateExample:DISCRETE(fixed = true protected = true ) \"Dummy variable to check state of TCP send function, 0 == OK, 1 == error\" type: Integer tCPCommunicatorExample.y[1]:DISCRETE(flow=false fixed = true ) \"Connector of Real output signals\" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001757/0.01165, allocations: 201.8 kB / 0.9367 GB, free: 14.98 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001108/0.01176, allocations: 177.7 kB / 0.9369 GB, free: 14.82 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003827/0.01215, allocations: 381.4 kB / 0.9373 GB, free: 14.55 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.01215, allocations: 0 / 0.9373 GB, free: 14.55 MB / 0.7293 GB Notification: Performance of matching and sorting (n=22) (initialization_lambda0): time 0.0002808/0.01243, allocations: 317.3 kB / 0.9376 GB, free: 14.34 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.01245, allocations: 65.31 kB / 0.9376 GB, free: 14.28 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/0.01245, allocations: 1.281 kB / 0.9376 GB, free: 14.28 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-06/0.01246, allocations: 11.34 kB / 0.9377 GB, free: 14.27 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-05/0.01251, allocations: 21.69 kB / 0.9377 GB, free: 14.27 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.01252, allocations: 7.109 kB / 0.9377 GB, free: 14.27 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.438e-05/0.01259, allocations: 27.78 kB / 0.9377 GB, free: 14.25 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.0126, allocations: 6.438 kB / 0.9377 GB, free: 14.25 MB / 0.7293 GB Warning: Assuming fixed start value for the following 2 variables: tCPCommunicatorExample.stateExample:DISCRETE(fixed = true protected = true ) \"Dummy variable to check state of TCP send function, 0 == OK, 1 == error\" type: Integer tCPCommunicatorExample.y[1]:DISCRETE(flow=false fixed = true ) \"Connector of Real output signals\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.tCPCommunicatorExample.stateExample,tCPCommunicatorExample.stateExample,tCPCommunicatorExample.firstTrigger,$PRE.tCPCommunicatorExample.firstTrigger,tCPCommunicatorExample.sampleTrigger,$whenCondition3,$whenCondition2,tCPCommunicatorExample.isConnected,$PRE.tCPCommunicatorExample.y[1],$PRE.pulse.count,$PRE.pulse.T_start,tCPCommunicatorExample.y[1],pulse.count,pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * 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 9.526e-05/0.0127, allocations: 233.8 kB / 0.9379 GB, free: 14.03 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.01272, allocations: 17.95 kB / 0.938 GB, free: 14.02 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.01275, allocations: 27.38 kB / 0.938 GB, free: 14 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01276, allocations: 1.766 kB / 0.938 GB, free: 14 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.01276, allocations: 1.25 kB / 0.938 GB, free: 14 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01277, allocations: 4.562 kB / 0.938 GB, free: 14 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/0.01339, allocations: 0.6069 MB / 0.9386 GB, free: 13.58 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01339, allocations: 0 / 0.9386 GB, free: 13.58 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.089e-05/0.01347, allocations: 19.8 kB / 0.9386 GB, free: 13.58 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01347, allocations: 0 / 0.9386 GB, free: 13.58 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.01348, allocations: 7.406 kB / 0.9386 GB, free: 13.58 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01349, allocations: 1.469 kB / 0.9386 GB, free: 13.58 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01349, allocations: 4 kB / 0.9386 GB, free: 13.57 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/0.01404, allocations: 0.5364 MB / 0.9391 GB, free: 13.25 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.01406, allocations: 14.25 kB / 0.9391 GB, free: 13.25 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.01409, allocations: 11.95 kB / 0.9392 GB, free: 13.24 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.01419, allocations: 23.53 kB / 0.9392 GB, free: 13.23 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.01425, allocations: 16.2 kB / 0.9392 GB, free: 13.23 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.01426, allocations: 16.17 kB / 0.9392 GB, free: 13.22 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 5.906e-05/0.01432, allocations: 129.6 kB / 0.9393 GB, free: 13.13 MB / 0.7293 GB Notification: Performance of sort global known variables: time 8e-08/0.01432, allocations: 0 / 0.9393 GB, free: 13.13 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0002879/0.01461, allocations: 76.52 kB / 0.9394 GB, free: 13.11 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (system.y) * Number of discrete variables: 10 (tCPCommunicatorExample.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,pulse.T_start,pulse.count,tCPCommunicatorExample.firstTrigger,tCPCommunicatorExample.y[1],tCPCommunicatorExample.isConnected,tCPCommunicatorExample.stateExample) * Number of discrete states: 4 (pulse.count,tCPCommunicatorExample.y[1],tCPCommunicatorExample.stateExample,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.001061/0.01567, allocations: 1.264 MB / 0.9406 GB, free: 12.21 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.01618, allocations: 0.5961 MB / 0.9412 GB, free: 11.74 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01618, allocations: 0.9062 kB / 0.9412 GB, free: 11.74 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.01634, allocations: 175 kB / 0.9414 GB, free: 11.62 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.01661, allocations: 41.97 kB / 0.9414 GB, free: 11.61 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.01846, allocations: 2.407 MB / 0.9438 GB, free: 9.707 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.376e-05/0.01853, allocations: 105.1 kB / 0.9439 GB, free: 9.633 MB / 0.7293 GB Notification: Performance of simCode: alias equations: time 9.714e-05/0.01863, allocations: 25.48 kB / 0.9439 GB, free: 9.633 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/0.0187, allocations: 46.25 kB / 0.944 GB, free: 9.602 MB / 0.7293 GB Notification: Performance of SimCode: time 5.21e-07/0.0187, allocations: 3.938 kB / 0.944 GB, free: 9.598 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.04103, allocations: 6.08 MB / 0.9499 GB, free: 8.02 MB / 0.7293 GB Error: Error building simulator. Build log: cmd: cd '183.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 18.1.3 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop/183.fmutmp/sources/fmi -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop/183.fmutmp/sources/../binaries/linux64 -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done (0.2s) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"183\" in directory /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop/183.fmutmp/sources -- Generating done (0.0s) CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 4.183480313047767] Failed to read output from testmodel.py, exit status != 0: 0.2713864063844085 0.28475835799999993 0.27646812299999995 Calling exit ...